Date: Wed, 2 Jul 2003 15:54:01 +0200 From: "Daan Vreeken [PA4DAN]" <Danovitsch@Vitsch.net> To: admin <admin@routec.net> Cc: FreeBSD-questions@freebsd.org Subject: Re: Re[2]: configuration NAT Message-ID: <200307021554.01327.Danovitsch@Vitsch.net> In-Reply-To: <5121335211.20030702135832@routec.net> References: <9913238963.20030702114337@routec.net> <20030702111512.I24709-100000@gwdu60.gwdg.de> <5121335211.20030702135832@routec.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 02 July 2003 12:58, Ruslan Sulemanov wrote: > KH> On Wed, 2 Jul 2003, Ruslan Sulemanov wrote: > >> I'm try configuration NAT (ipfw + natd), > >> how i need start natd ? > >> > >> Kernel options: > >> > >> options IPDIVERT > >> options IPFIREWALL > > KH> /etc/rc.conf: > KH> firewall_enable=3D"YES" # Set to YES to enable firewall > functionality KH> firewall_type=3D"open" # Firewall type (se= e > /etc/rc.firewall) KH> ^ > KH> Or whatever you want ... > KH> natd_enable=3D"YES" # Enable natd (if firewall_enable= =3D=3D > YES). KH> natd_interface=3D"de0" # Public interface or IPadd= ress > to use. KH> ^ > KH> Fill in here the device name of your network adapat= er. > > I do it. How i can start natd? natd_enable=3D"YES" in your /etc/rc.conf will tell FreeBSD to automatical= ly=20 start it when your system boots. You can start it manually with : natd -n de0 (assuming de0 is your outside-interface) > in my /etc/rc.firewall this rules: > ipfw -f flush > ipfw add divert natd all from any to any via fxp0 > ipfw add allow all from any to any That should get it working grtz, Daan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307021554.01327.Danovitsch>