From owner-freebsd-questions Sat Jul 17 16:57:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f55.law3.hotmail.com [209.185.241.55]) by hub.freebsd.org (Postfix) with SMTP id AEF2514C32 for ; Sat, 17 Jul 1999 16:57:36 -0700 (PDT) (envelope-from jbult@hotmail.com) Received: (qmail 59731 invoked by uid 0); 17 Jul 1999 23:57:34 -0000 Message-ID: <19990717235734.59730.qmail@hotmail.com> Received: from 24.5.224.107 by www.hotmail.com with HTTP; Sat, 17 Jul 1999 16:57:34 PDT X-Originating-IP: [24.5.224.107] From: "Jonathan Bult" To: FreeBSD-Questions@FreeBSD.org Subject: NATD and FTP Date: Sat, 17 Jul 1999 16:57:34 PDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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