Date: Thu, 22 Apr 1999 22:46:19 +0200 From: Udo Schweigert <ust@cert.siemens.de> To: freebsd-isdn@freebsd.org Cc: Luke Roberts <luke@roberts.nl> Subject: Re: problems setting up i4b (for FreeBSD Router) Message-ID: <19990422224619.A1283@alaska.cert.siemens.de> In-Reply-To: <4.1.19990422212153.00982be0@pop.roberts.nl>; from Luke Roberts on Thu, Apr 22, 1999 at 09:35:54PM %2B0200 References: <4.1.19990422212153.00982be0@pop.roberts.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 22, 1999 at 09:35:54PM +0200, Luke Roberts wrote: > Once I have the i4b setup correctly I would like to use the machine as a > gate way and have the folowing questions. I hope somebody can find a little > time to help me sort them out. Even a few hints and nudges in the right > direction would realy help ;-) > > The machine's IP number is 192.168.0.100 > > 1. Do I setup the machine's gateway pointing to itself (192.168.0.100) or > do I have to specify my provider's gateway (194.159.73.222)? What do I do > if I want to swap provider every now and then (because of connection problems? > > 2. In what order is IP traffic dealt with by the FreeBSD box? > (ed0 -> NATd -> Firewall -> sPPP) > > 3. Does anybody have any hints on setting up the ISDN router > > Hi, i setup my FreeBSD (3.1-STABLE) box as you want to do. All you have to do, is to start natd with the following options (in /etc/natd.cf): use_sockets yes same_ports yes port natd interface isp0 and in /etc/rc.conf (or rc.conf.local) you write: natd_flags="-f /etc/natd.cf -dynamic" natd_interface="isp0" natd_enable="YES" This setup also has the advantage, that changing the ISP has only to be done in /etc/isdn/isdnd.rc (because natd uses the isp0 interface and the IP-address associated with it). Best regards ------------------------------------------------------------------------------- Udo Schweigert || Voice : +49 89 636 42170 Siemens AG, Siemens CERT || Fax : +49 89 636 48000 ZT IK 3 || email : Udo.Schweigert@mchp.siemens.de D-81730 Muenchen / Germany || : ust@cert.siemens.de PGP fingerprint || 2A 53 F6 A6 30 59 64 02 6B C4 E0 73 B2 C9 6C E7 ------------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990422224619.A1283>