FTP: Data Socket Error: Connection failed [iptables]

Dupa un stop & start la iptables, am reusit performanta sa pierd toate conexiunile la ftp:

root@server [~]# service iptables stop
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: mangle filter             [  OK  ]
Unloading iptables modules:                                [  OK  ]
root@server [~]# service iptables start
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: filter                    [  OK  ]
Unloading iptables modules:                                [  OK  ]
Applying iptables firewall rules:                          [  OK  ]
Loading additional iptables modules: ip_conntrack_netbios_n[  OK  ]

Consecinta: [R] Data Socket Error: Connection failed [FTP] incoming / outgoing, desi in server aparea ca sunt logat, nu aveam acces la  nimic.

Rezolvare:

root@server [~]# iptables -A INPUT -p tcp –dport 21 -j ACCEPT
root@server [~]# modprobe ip_conntrack_ftp

"/" is your current location ;-)

FTP: Data Socket Error: Connection failed [iptables]

About the author

Stealth

Pasionat de tot ce inseamna gadget si IT, scriu cu placere pe stealthsettings.com din 2006 si imi place sa descopar alaturi de voi lucruri noi despre calculatoare si sistemele de operare macOS, Linux, Windows, iOS si Android.

Leave a Comment