From owner-freebsd-isp Fri Jun 23 5:54:31 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 87BF537BA0C for ; Fri, 23 Jun 2000 05:54:27 -0700 (PDT) (envelope-from john@veidit.net) Received: (qmail 19372 invoked from network); 23 Jun 2000 12:54:25 -0000 Received: from t3o41p18.telia.com (HELO sandra) (195.67.252.138) by ns1.comnix.com with SMTP; 23 Jun 2000 12:54:25 -0000 Message-ID: <001001bfdd12$2d1eb440$8afc43c3@sandra> From: "John Angelmo" To: References: <000701bfdd11$58c8cb40$8afc43c3@sandra> Subject: SV: nat error Date: Fri, 23 Jun 2000 14:54:31 +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 SOrry I forgot the important line :-) natd -redirect_port tcp 192.168.1.3:8099 193.44.56.36:8099 -interface = ed1 /John ----- Original Message -----=20 From: John Angelmo To: Sent: Friday, June 23, 2000 2:48 PM Subject: nat error 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message