Quote:
Originally Posted by michaelk
As unSpawn noticed the server appears to be only listening on ipv6. However according to the documentation it should listen on both since listen_ipv6=YES option is enabled.
However I just checked and with IPV6 enabled I could not connect from a remote PC. So try disabling listen_ipv6 and enable ipv4 i.e. listen=yes.
|
I did change the
Code:
Listen=NO to Listen=YES, also, I uncommented the listen_ipv6=YES.
after making the change I restarted
Code:
systemctl restart vsftpd.service.
for some reason, I am still unable to connect from my windows machine. changing to ipv4 should have worked. But, when I change back to default port 21, it works fine using the LAN IP 192.168.1.2.
Code:
netstat -pnl | grep vsftpd
tcp 0 0 0.0.0.0:1980 0.0.0.0:* LISTEN 20934/vsftpd
Code:
iptables -L
Chain IN_public_allow (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp ctstate NEW
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:http ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpts:rfb:5903 ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:https ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:mysql ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:urd ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:p2pq ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:submission ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:estamp ctstate NEW
ACCEPT tcp -- anywhere anywhere tcp dpt:pearldoc-xact ctstate NEW