Can anybody help.
I am new to linux.
I am on the verge of pulling what little hair, I have out.
I have setup an ftp server on linux, running vsftp.
I can ftp from outside into the box with an active ftp connection no problem.
But I cannot create a PASV connection.
I have changed the vsftpd.conf file to read
pasv_enable=YES
pasv_max_port=65534
pasv_min_port=1024
port_enable=YES
pasv_address=xxx.xxx.xxx.xxx
I have also added two lines to the iptables
iptables -A OUTPUT -p tcp -o eth0 --dport 1024:65535 --sport 1024:65535 -j ACCEPT
iptables -A FORWARD -p tcp -i eth0 --sport 1024:65535 --dport 1024:65535 -j ACCEPT
After all that I still cannot get a pasv connection.
Can someone please tell me where I am going wrong.
Thanks for any help.
I am new to linux.
I am on the verge of pulling what little hair, I have out.
I have setup an ftp server on linux, running vsftp.
I can ftp from outside into the box with an active ftp connection no problem.
But I cannot create a PASV connection.
I have changed the vsftpd.conf file to read
pasv_enable=YES
pasv_max_port=65534
pasv_min_port=1024
port_enable=YES
pasv_address=xxx.xxx.xxx.xxx
I have also added two lines to the iptables
iptables -A OUTPUT -p tcp -o eth0 --dport 1024:65535 --sport 1024:65535 -j ACCEPT
iptables -A FORWARD -p tcp -i eth0 --sport 1024:65535 --dport 1024:65535 -j ACCEPT
After all that I still cannot get a pasv connection.
Can someone please tell me where I am going wrong.
Thanks for any help.