Date: Tue, 16 Mar 2004 21:55:22 -0500 (EST) From: Chris Hill <chris@monochrome.org> To: "Matt Coe, CCNA" <webmaster@jargonccna.cjb.net> Cc: freebsd-questions@freebsd.org Subject: Re: 4.4-RELEASE as a NAT/gateway Message-ID: <20040316215010.N62550-100000@frambozen.monochrome.org> In-Reply-To: <4057BA40.5030701@jargonccna.cjb.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Mar 2004, Matt Coe, CCNA wrote: > [snip] ... but nothing goes from dc0 to rl0, for some reason beyond > me. Here's a snippet of my rc.conf if it helps: > > ifconfig_rl0="DHCP" > ifconfig_dc0="inet 192.168.0.1 netmask 255.255.255.0" > gateway_enable=YES > natd_enable=YES > natd_interface=rl0 > natd_flags="" > firewall_enable=YES > firewall_type=OPEN > > Is there any thing wrong with those lines? I could type out my entire > rc.conf if it's necessary... Anyone else have similar problems? You may need to add a natd.conf file in /etc, and change one of your rc.conf lines to point to it: natd_flags="-f /etc/natd.conf" # Additional flags for natd. My /etc/natd.conf looks like this, in its entirety: use_sockets yes same_ports yes unregistered_only yes ...but it's on an ancient machine and things may have changed by now. man natd for more info. HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040316215010.N62550-100000>