From owner-freebsd-questions Thu Jan 14 16:02:59 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA06746 for freebsd-questions-outgoing; Thu, 14 Jan 1999 16:02:59 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from presley.cybertrails.com (presley.cybertrails.com [162.42.150.35]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA06732 for ; Thu, 14 Jan 1999 16:02:56 -0800 (PST) (envelope-from kf7nn1@cybertrails.com) Received: (qmail 21261 invoked from network); 15 Jan 1999 00:00:32 -0000 Received: from unknown (HELO ginger) (162.42.132.12) by presley.cybertrails.com with SMTP; 15 Jan 1999 00:00:32 -0000 Message-ID: <007f01be401a$43c71340$0300a8c0@ginger.kf7nn.com> From: "george vagner" To: "Karl Pielorz" Cc: Subject: Re: 2 network cards Date: Thu, 14 Jan 1999 17:01:54 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ok i can edit rc.conf for the natd lines but i dont know what to put in the flags line. can you help natd_enable="YES" natd_interface="ed1" # this is the real ip card, ed2 is the 192.168 one. natd_flags="idontknowwhattoputhere" accept_sourceroute="NO" # accept source routed packets to us natd_enable="NO" # Enable natd if firewall_enable. natd_interface="fxp0" # Public interface to use with natd if natd_enab natd_flags="" # Additional flags for natd. -----Original Message----- From: Karl Pielorz To: george vagner Cc: questions@FreeBSD.ORG Date: Thursday, January 14, 1999 4:43 PM Subject: Re: 2 network cards > > >george vagner wrote: > >> can you look at this and tell me what i need to do >> in order to make the freebsd machine ast as a gateway. >> >> I have done this before with other machines but never with >> 2 network cards. >> >> Please? > >If you want a gateway, check /etc/rc.conf has gateway_enable="yes", and if/or >the FreeBSD machine is the only one with a valid Internet IP address your >going to have to run Natd to do address-translation for the other machine (as >it's 192.168.X.X address isn't valid on the Internet). > >-Kp > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message