Date: Sat, 17 Jul 1999 16:57:34 PDT From: "Jonathan Bult" <jbult@hotmail.com> To: FreeBSD-Questions@FreeBSD.org Subject: NATD and FTP Message-ID: <19990717235734.59730.qmail@hotmail.com>
next in thread | raw e-mail | index | archive | help
I'm trying to get natd to forward FTP traffic to an internal FTP server (192.168.10.20). It's not working, so far. I have no problem getting to the outside world from an internal machine and then through my FreeBSD/natd machine, but the outside cannot get to my FTP server on my internal LAN. Here's a few files to look at: bash$ more /etc/natd.conf use_sockets yes same_ports yes #verbose yes #unregistered_only yes interface ep1 # Pass Ident requests in to IRC client redirect_port tcp 192.168.10.50:113 113 # Pass FTP traffic to the internal FTP server redirect_port tcp 192.168.10.20:21 21 redirect_port tcp 192.168.10.20:20 20 bash# ipfw show 01000 0 0 allow ip from any to any via lo0 01010 0 0 deny ip from 127.0.0.0/8 to 127.0.0.0/8 02000 0 0 divert 6668 ip from any to any via ep1 65000 5102 277279 allow ip from any to any 65535 0 0 deny ip from any to any I use the OPEN firewall policy and then add: "ipfw add 2000 divert natd all from any to any via ep1" What am I missing here? Thanks, Jon Bult _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990717235734.59730.qmail>