Thread: vsftpd "Server sent passive reply with unroutable address."
i @ home. server @ home. has static ip. vsftpd runs on port 22222. port forwarded in router too. now, whenever connect after changing dns records this:
response:200 switching binary mode.
commandasv
response:227 entering passive mode (192,168,133,7,136,218).
status:server sent passive reply unroutable address. using server address instead.
command:list
error:connection timed out
error:failed retrieve directory listing
why happening?
from presume updating dns records point external internet facing ip of router?
if pc connecting external interface of router , connection forwarded through nat lan ftp server. when ftp connection tries change passive mode server supplies ip address , port(s) use establish passive connection. reporting lan ip there , ftp client considers connected internet based ftp server reports ip provided invalid not routeable on internet.
don't know how vsftpd proftpd there settings in config file working behind nat'd connection. need enter config entries for:
1. external ip address (some ftp servers have option try auto-detect @ run time)
2. port range use passive connections (usually default quite large range, reducing in config makes next thing simpler)
next thing - need forward passive ftp port range on router ftp server usual port 21.
hope helps - i'm sure net search "setup vsftpd work behind nat" give number of hits specifics.
gl hth
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] vsftpd "Server sent passive reply with unroutable address."
Ubuntu
Comments
Post a Comment