Log in

Bekijk de volledige versie : Question - FTP connection forwarding



n-joy
10-04-2010, 13:14
Hi there,

I have the following scenario:

Current situation: I have an account on a FTP server that allows connections from the IP address of my router. With this setup, I'm able to connect to the server while at home.

Desired behavior: I would like to be able setup the connection to the FTP server also when I'm located in a remote connection, so I was thinking of a forwarder.

Question: Is there an "iptables" command that would allow me to publish a custom port (e.g. 5678) on my router that will forward my communication to the FTP server?
This way, while remote, I would use my router's IP : publishedPort and user : pass to connect to the FTP server.
Eventually, it would be interesting to be able to limit the incoming connection from a specified IP address.

Thank you in advance!