[CentOS-mirror] new mirror

Wed Aug 1 14:23:47 UTC 2007
Mirrors <mirrors at tds.net>

Well,

Probably has to do with active / passive mode FTP.

You need a few lines in the iptables to allow the passive ports, and then 
you also need the _pasv config lines in the vsftpd.conf file...

Shane.

----------------
/etc/sysconfig/iptables ...

-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 21 --tcp-flags SYN,RST,ACK 
SYN -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p udp -m udp --dport 21 -j ACCEPT
-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 49152:65534 --tcp-flags 
SYN,RST,ACK SYN -j ACCEPT



----------------- part of my centos config for vsftp --------
anonymous_enable=YES
listen=yes
listen_address=1.2.3.4
dual_log_enable=yes
background=yes
hide_ids=yes
ftp_username=ftpcentos
one_process_model=yes
session_support=no

connect_from_port_20=YES
setproctitle_enable=YES
max_clients=700
max_per_ip=2
banner_file=/etc/vsftpd.banner
pasv_max_port=65534
pasv_min_port=49152


On Wed, 1 Aug 2007, Joseph, John wrote:

> Hello,
>
> I am currently working on setting up a new mirror, I have started the
> rsync and it appears to be working you can find the site at
> http://70.168.40.244/CentOS/ I am working on the ftp but for some reason
> it will not let windows explorer connect from the browser only if I use
> a FTP program...
>
> I was wondering if someone could help???  I'm using vsftpd and I have
> anonymous_enable=YES
> anon_root=/var/ftp/CentOS/
> dirlist_enable=YES
> no_anon_password=yes
>
>
>
> -- 
> Thank you,
> John Joseph
> Computer/Network/Phone Technician
> Lakewood Board of Education
> http://www.lakewoodcityschools.org/it/
>
>
>