Setelah berhenti & awal la iptablesAku berhasil kehilangan semua koneksi ke 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 ]
Konsekuensi: [R] Soket Data Error: Sambungan gagal [FTP] masuk / ramah, meskipun saya terlihat masuk ke server di server, saya tidak memiliki akses ke apa pun.
Larutan:
root@server [~]# iptables -A INPUT -p tcp --dport 21 -j ACCEPT
root@server [~]# modprobe ip_conntrack_ftp
“/” Apakah lokasi Anda saat ini ;-)