Date: Fri, 23 Jun 2000 14:54:31 +0200 From: "John Angelmo" <john@veidit.net> To: <freebsd-isp@freebsd.org> Subject: SV: nat error Message-ID: <001001bfdd12$2d1eb440$8afc43c3@sandra> References: <000701bfdd11$58c8cb40$8afc43c3@sandra>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <john@veidit.net> To: <freebsd-isp@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001bfdd12$2d1eb440$8afc43c3>