Re: Firewall issues with setting up vsftp server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I believe the first issue is that you don't have a port range set in the vsftpd config file (usually in /etc/vsftpd/vsftpd.conf). That is, you just have passive connect mode turned on. A way to fix this would be to set a port range for passive connections in vsftpd.conf and allow access to this port range on your firewall. Below is an example allowing passive mode connections for ports 30000-33333. You can add this to your config script and modify the port range as you like, then allow connections to the port range in your firewall settings. for more options for configuring it go to (http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/ref-guide/s1-ftp-vsftpd-conf.html)

Example:

#When enabled, passive mode connects are allowed. The default value is YES.
pasv_enable=YES
#
#Specifies the highest possible port sent to the FTP clients for passive mode connections. This setting 
#is used to limit the port range so that firewall rules are easier to create. The default value is 0, 
#which does not limit the highest passive port range. The value must not exceed 65535.
pasv_max_port=33333
#Specifies the lowest possible port sent to the FTP clients for passive mode connections. This setting 
#is used to limit the port range so that firewall rules are easier to create. The default value is 0, 
#which does not limit the lowest passive port range. The value must not be lower 1024.
pasv_min_port=30000



-- 
This is an email sent via the webforum on http://fcp.homelinux.org


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux