View Single Post
  #1   (View Single Post)  
Old 25th September 2009
Sunsawe Sunsawe is offline
Port Guard
 
Join Date: May 2008
Posts: 39
Default How to configure VSFTPD?

Hi all!

I am trying to configure VSFTPD to run on a box which is behing a router.
I can access it from inside the local network but not from outside.
This is my config file:

Quote:
############# Users settings ################
anonymous_enable=NO
chroot_local_user=YES
local_umask=022

############# Server settings ################
background=YES
dirmessage_enable=YES
guest_enable=NO
listen=YES
write_enable=YES
listen_port=21
max_clients=5
max_per_ip=2
pasv_max_port=160
pasv_min_port=150
guest_username=vsftpd_user
tcp_wrappers=YES
nopriv_user=vsftpd_user
local_enable=YES
pasv_address=XXXXXX (external address)
The ports are transfered from the router to the box. I can access it but the connection fails. It still replies with the internal network address sor the PORT command fails.

What am I doing wrong?

Thank you
Reply With Quote