Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello ,
I have problem on my Cache Server ,
I upgrade to Linux 7.2 and want to use IPTable on it for Routing , NAT and Firewall,This is PRoblem on NAT ,
When I want to Use NAT with IPTable, and FTP to other server on internet , With the Computer using Invalid IP ,
I connect to Remote Server but I ca'nt see the File on Remote Directory when usinf " ls " on Remote FTP Server ,
I Know problem on NAT Setting over IPTable ,
Please Told me how to set IPTable For FTP NAT ,
Waiting For Reply ,
-------------------------
This is MY NAT Configuration on IPTable :
But FTP Service Dos't Work on it ,
#!/bin/bash
/bin/echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/iptables -t nat -F
/sbin/iptables -F
# For Transparet Proxy
/sbin/iptables -t nat -A PREROUTING -p tcp -s 192.168.100.0/24 --dport 80 -j REDIRECT --to-port 8080
# FOR NAT
/sbin/iptables -t nat -A POSTROUTING -s 192.168.100.0/24 -j MASQUERADE
-------------

![]() |
I needhelp deleting Linux
|
distro advice?
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |