LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   passive vftpd (https://www.linuxquestions.org/questions/linux-networking-3/passive-vftpd-79210/)

dbossung 08-05-2003 10:59 AM

passive vftpd
 
I have setup a vsftp server on linux RH 8.0 behind a SmoothWall (smoothie) 1.0 firewall. When I use IE to open the FTP site as anonymous, I get a "Page cannot be displayed" error from IE. Then when I refresh IE, the folder structure appears and I can travers as normal. This problem happens anytime a folder is accessed the first time any floder is opened pand then refresh corrects the error. The client is behind a firewall as well. I have set the client IE property to allow passive connections.

After reading the documentation for smoothie and using man vsftpd.conf 5, I added the following directives to vsftpd.conf on the server:

pasv enabled=YES (not necessary but just in case)
pasv address=w.x.y.z (This is the interface on the internet of my firewall)
pasv max port=2121
pasv min port=2121
ftp_data_port=2121

Then followed the rest of the document to setup the smoothie rules. Same result.

So, finally, here is the ?

How do I configure vsftpd to allow passive connections using data port 2121 and control port 21? I want to eliminate vsftpd from the equation so I can focus on the firewall (smoothie) if that is the problem.

thanks
don

dbossung 08-05-2003 12:10 PM

I have found one problem in the initial config. The directives need to have _ instead of space in the name. I have fixed this and IE seems to be OK now.

Don


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