Date: Fri, 9 Apr 2004 14:00:50 +0400 From: vasilkin@spb.mts.ru To: Arek Czereszewski <arek@wup-katowice.pl> Cc: freebsd-questions@freebsd.org Subject: Re[2]: Natd and natd_interface Message-ID: <25359736265.20040409140050@spb.mts.ru> In-Reply-To: <4076692E.4010002@wup-katowice.pl> References: <Pine.LNX.4.44.0404091135410.15780-100000@poczta.wup-katowice.pl> <407663BF.7020506@users.sourceforge.net> <4076692E.4010002@wup-katowice.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Arek, Write to /etc/natd.conf strings like: redirect_address 192.168.0.10 213.216.67.80 redirect_address 192.168.0.11 213.216.67.81 ... redirect_address INSIDE_IP PUBLIC_IP and write into /etc/rc.conf : natd_flags=" -f /etc/natd.conf " Friday, April 9, 2004, 1:13:18 PM, you wrote: AC> Rob wrote: >> fxp0, the one that connects to the outside network. AC> Yes. It is. >> I don't think you have to do this yourself. >> I believe by adding >> natd_enable="YES" AC> Yes, i have this. And gateway_enable, firewall_enable, firewall_type >> to your rc.conf, you get the following rule as a result: >> divert 8668 ip from any to any via fxp0 >> which does what you want (I think). AC> But i have 10 workstations with public IP from my subnet AC> 213.216.67.80/28 connected to fxp1. Is this rule do NAT for this IP too? AC> Arek -- Best regards, vasilkin mailto:vasilkin@spb.mts.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25359736265.20040409140050>