FTP Redirect IP:Port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
Hello Folks,
 
I want to redirect FTP access from my BOX to other machine. How can i make this possible?
 
external IP ---> 202.x.x.x port 21 (redirect) ---> 192.168.0.10 port21
 
I have tried:
 
iptables -A PREROUTING -p tcp -d 202.x.x.x --dport 21 -j DNAT --to 192.168.0.10:21
 
this seems to be not working. what could it be?
 
Thanks
JP.

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux