Date: Wed, 2 Jul 2003 13:58:32 +0300 From: Ruslan Sulemanov <admin@routec.net> To: freebsd-questions@freebsd.org Subject: Re[2]: configuration NAT Message-ID: <5121335211.20030702135832@routec.net> In-Reply-To: <20030702111512.I24709-100000@gwdu60.gwdg.de> References: <9913238963.20030702114337@routec.net> <20030702111512.I24709-100000@gwdu60.gwdg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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="YES" # Set to YES to enable firewall functionality KH> firewall_type="open" # Firewall type (see /etc/rc.firewall) KH> ^ KH> Or whatever you want ... KH> natd_enable="YES" # Enable natd (if firewall_enable == YES). KH> natd_interface="de0" # Public interface or IPaddress to use. KH> ^ KH> Fill in here the device name of your network adapater. I do it. How i can start natd? 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 Thanks. -- Best regards, Ruslan mailto:admin@routec.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5121335211.20030702135832>