[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-isp
Subject:    nat error
From:       "John Angelmo" <john () veidit ! net>
Date:       2000-06-23 12:48:35
[Download RAW message or body]

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> 

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic