LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   VSFTPd PUT commands does not work behind firewall (https://www.linuxquestions.org/questions/linux-server-73/vsftpd-put-commands-does-not-work-behind-firewall-588928/)

ToniCipriani 10-02-2007 12:49 PM

VSFTPd PUT commands does not work behind firewall
 
I have a Ubuntu 7.04 server that's sitting behind a firewall in a DMZ, running vsftpd. I've configured the firewall to NAT the external IP to the server's internal IP, opened the ports for FTP and FTP data. Yet I'm having problems with any PUT commands (uploading, creating directories, etc.) When I try to connect from outside the firewall, it tells me that I'm not allowed to do so, but if I connect a client to the same subnet, it works fine.

Thanks!

ramram29 10-03-2007 07:37 AM

FTP under NAT does not work very well - I can recall reading about that. You may want to look into that. As an alternative I would recommend to use SFTP which is more secure.

ToniCipriani 10-03-2007 11:59 AM

It turns out that the client I was using had a restricted internet, and I didn't know it rewrites PUT commands to restrict data leakage. I tried again on an unrestricted line and problem went away.

As for the NAT, I'm using a Cisco ASA, which handles and inspects FTP connections properly.

The box also runs SFTP which works fine. Just providing both for flexibility.

Thanks for the help.


All times are GMT -5. The time now is 02:19 PM.