I'm using pureftpd and I have a virtual user set up. It works fine on port 21 but when I changed ther server settings to listen to a different port (1557) I'm having problems. I log in okay but once I'm in I get the following error:
Response: 500 I won't open a connection to 10.10.xxx.xxx (only to 70.96.xxx.xxx)
Error: Could not retrieve directory listing
The 10.10 addy is the client's internal ip address, I imagine the 70.96 is the external. I'm not running a firewall on the server but it is behind a router that has one. I've forwarded ports 21, 1557 and 40000-40500 (for passive mode) but I'm still getting the same errors.
I'm boggled why it works on the default port but not the other. Also, I don't understand why it's reading the internal address instead of the external. I'm guessing there's a configuration that I'm missing somewhere?