Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2000 14:48:35 +0200
From:      "John Angelmo" <john@veidit.net>
To:        <freebsd-isp@freebsd.org>
Subject:   nat error
Message-ID:  <000701bfdd11$58c8cb40$8afc43c3@sandra>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701bfdd11$58c8cb40$8afc43c3>