Hello,

I'm having trouble with vsftpd running behind a NAT/Firewall device (SMC Barricade Wireless Router). This is my setup:

1. vsftpd configured to listen for incoming connections on port 21 (default).
2. vsftpd configured to use port range 5001-5005 for PASV transfers (pasv_min_port, pasv_max_port)
3. vsftpd configured to return external IP address instead of the ftp server's internal address using pasv_address.
4. SMC configured to pass tcp connections on ports 21, 5001-5005 to the ftp server machine.


Using this setup, I can successfully connect and perform PASV transfers from my local LAN. vsftpd correctly returns ports in the range 5001-5005 for use in these transfers.

However, I cannot get an external client to work. I can successfully connect to vsftpd and issue the PASV command, but instead of giving me back a port in the range 5001-5005 I get some random large number like 48375. Obviously, since the SMC hasn't been configured to pass this random port back to the ftp server, the ftp client cannot connect.

Does anyone have any idea what is happening? Why does vsftpd respond differently to an external client than an internal one?

Any help would be greatly appreciated.

Thanks,

Larry








-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to