Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-02-2007, 12:49 PM   #1
LQ Newbie
Registered: Oct 2007
Posts: 14

Rep: Reputation: 0
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.

Old 10-03-2007, 07:37 AM   #2
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
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.
Old 10-03-2007, 11:59 AM   #3
LQ Newbie
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
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.


firewall, ftp, ubuntu, ubuntu704, vsftpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
where to put startup commands nickcol Linux - General 1 05-10-2005 05:00 AM
where to put commands...???? karan101 Linux - Software 4 01-10-2005 09:01 PM
Best way to put localized/personal commands kaon Slackware 1 11-07-2004 11:12 AM
firewall 3 905 NICs route commands to make it actually work? piratebiter Linux - Networking 1 09-04-2003 09:52 AM
Where do I put insmod commands? rwhitworth Linux - Networking 6 04-15-2003 03:15 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration