RandyRiegel
Programmer
I have some windows machines in a network and recieve internet access via NAT using the following commands:
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
When I try to FTP to a system outside of our network I always get some type of error saying something like: (The following is from PureFTPd)
500 I won't connect to 192.100.100.6 (on to xx.xxx.124.150)
425 No data connection
It's like my local IP address is not getting translated correctly before being send. I can ftp from the linux server fine. Any ideas?
Randy
modprobe iptable_nat
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
When I try to FTP to a system outside of our network I always get some type of error saying something like: (The following is from PureFTPd)
500 I won't connect to 192.100.100.6 (on to xx.xxx.124.150)
425 No data connection
It's like my local IP address is not getting translated correctly before being send. I can ftp from the linux server fine. Any ideas?
Randy