From owner-freebsd-questions Tue Mar 12 14:35: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sage-one.net (adsl-64-219-21-235.dsl.crchtx.swbell.net [64.219.21.235]) by hub.freebsd.org (Postfix) with ESMTP id 4E13F37B4A2 for ; Tue, 12 Mar 2002 14:34:26 -0800 (PST) Received: from SAGEONE (sageone [192.168.0.5]) by sage-one.net (8.11.6/8.11.6) with SMTP id g2CMYOr10457; Tue, 12 Mar 2002 16:34:24 -0600 (CST) (envelope-from admin@sage-one.net) Message-Id: <3.0.5.32.20020312163423.01189748@mail.sage-one.net> X-Sender: admin@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 12 Mar 2002 16:34:23 -0600 To: amckay@istop.com, From: Server Admin Subject: Re: Setting up Vhosting on Dynamic IP In-Reply-To: <2928.216.187.107.78.1015971624.squirrel@secure.quay.net> References: <3.0.5.32.20020312152800.01155d18@mail.sage-one.net> <3.0.5.32.20020312152800.01155d18@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG When using a dynamic IP, the ppp startup lines must be listed above the natd lines in rc.conf so that ppp will start first and tun0 will be initiated with a newly assigned dynamic IP as in my setup. If you have a static IP, then it probably won't matter. The ipfw variable settings only reminded me which external interface to pick because I also had the r10 interface listed but commented out. My comment about the ipfw probably wasn't necessary for your question about setup of natd... At 05:20 PM 3.12.2002 -0500, Alan McKay wrote: >> The IPFW settings had to do with setting up the interface variables in >> the firewall rule script. In mine the outside interface is "tun0" >> {oif}. Real important is to make sure the PPP is set to be initiated >> prior to the natd stuff in rc.conf. The "tun0" setting must be running >> (exist) first for natd to see it properly. > >That's not rc.conf, though is it? That's just config variables and >the order in which they appear does not matter. What matters is >who reads the file first (to the best of my understanding the file >gets red quite a few times during bootup, but many different scripts, >all of which ignore everything but the stuff they are interested in) > >cheers, >-Alan > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > .... our website: http://www.sage-one.net/ Best regards, Jack L. Stone Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message