FTP: שקע נתונים Error: החיבור נכשל [iptables]

לאחר להפסיק & התחלה la iptablesהצלחתי לאבד כל החיבורים 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  ]

תוצאה: [R] שקע נתונים Error: החיבור נכשל [FTP] נכנס / היוצא, למרות שהופיע בשרת שאני מחובר, לא הייתה לי גישה לשום דבר.

פתרון:

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

"/" האם המיקום הנוכחי שלך ;-)

כחובב טכנולוגיה, אני כותב בשמחה ב- StealthSettings.com מאז 2006. יש לי ניסיון עשיר במערכות הפעלה: macOS, Windows, ו- Linux, וגם בשפות תכנות ופלטפורמות בלוגינג (WordPress) ולסוחרת אלקטרונית (WooCommerce, Magento, PrestaShop).

איך » ראוי לציון » FTP: שקע נתונים Error: החיבור נכשל [iptables]
השאירו תגובה