From owner-freebsd-isp Fri Jun 23 5:48:48 2000 Delivered-To: freebsd-isp@freebsd.org Received: from server.comnix.com (ns1.comnix.com [195.196.30.50]) by hub.freebsd.org (Postfix) with SMTP id 42AB937B58C for ; Fri, 23 Jun 2000 05:48:39 -0700 (PDT) (envelope-from john@veidit.net) Received: (qmail 19273 invoked from network); 23 Jun 2000 12:48:28 -0000 Received: from t3o41p18.telia.com (HELO sandra) (195.67.252.138) by ns1.comnix.com with SMTP; 23 Jun 2000 12:48:28 -0000 Message-ID: <000701bfdd11$58c8cb40$8afc43c3@sandra> From: "John Angelmo" To: Subject: nat error Date: Fri, 23 Jun 2000 14:48:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi On one of my public servers I want to be able to connecto to the private = isp on the internal net and I use natd: #Firewall config natd -interface ed1 /sbin/ipfw -f flush /sbin/ipfw add 00300 divert natd all from any to any via ed1 /sbin/ipfw add 00301 deny log tcp from any to any 515 in recv ed1 /sbin/ipfw add 00302 allow icmp from any to any in recv ed1 /sbin/ipfw add 00303 allow log icmp from any to any in recv ed1 icmptype = 3 /sbin/ipfw add 00304 allow log icmp from any to any in recv ed1 icmptype = 8 /sbin/ipfw add 00305 pass all from any to any That is my simple firewall/natd config no I though that I could connect to# ftp 193.44.56.36 8099 But then I just get: ftp: connect: Connection refused ftp>=20 BUt when I do a ftp 192.168.1.3 8099 everything is OK Please help me I must be able to reach my dockument from the external = ftp.. /John Angelmo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message