FTP: PRET support / use WAN ip for PORT
Posted: 2007-06-22, 22:20 UTC
Hi,
i just noticed TC is unable to connect to FTPs running some versions of DRFTPD when behind a router:
PASV mode wont work as TC doesnt support PRET.
And active mode wont work as TC always sends LAN ip but drftpd requires the external WAN ip.
Other FTP clients are able to set something like:
where you can put either your static WAN ip or - if you have a dynamic ip - some DynDNS alias.
This way the problems are solved.
Is it possible to do that somehow in TC?
i just noticed TC is unable to connect to FTPs running some versions of DRFTPD when behind a router:
Code: Select all
PASV
500 You need to use a client supporting PRET (PRE Transfer) to use PASV
PORT 192,168,0,1,11,136
501- ==YOU'RE BEHIND A NAT ROUTER==
501- Configure the firewall settings of your FTP client
501- to use your real IP: xxx.xxx.xxx.xxx
501- And set up port forwarding in your router.
501- Or you can just use a PRET capable client, see
501 http://drftpd.org/ for PRET capable clients
And active mode wont work as TC always sends LAN ip but drftpd requires the external WAN ip.
Other FTP clients are able to set something like:
Code: Select all
force active mode to use this ip: <WAN ip> | <dyndns alias>
This way the problems are solved.
Is it possible to do that somehow in TC?