[NTLUG:Discuss] Problem with iptables masquerade and FTP
Neil Aggarwal
neil at JAMMConsulting.com
Sun Apr 29 10:37:06 CDT 2001
Hello:
I am tryign to use the Redhat 7.1 distribution as a gateway
for my home network.
I had this working with the ipchains and masquerade in RedHat 7.0,
but with RedHat 7.1, things changed.
Anyway, I tried reading the IP NAT HOWTO and I figured
out that I needed to issue this command to masquerade
with iptables:
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
Almost everything works fine, but when I ftp to a host,
I get this:
ftp> ls
200 PORT command successful.
550 Cannot connect to 192.168.1.2:1043 - Connection refused.
So, apparently the masquerade is not completely working.
Any ideas?
Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases
More information about the Discuss
mailing list