0
我有一個虛擬機(VM)我有一個問題。基本上,我試圖登錄到我的網絡服務器上的FTP,但忘記了登錄。因此,它現在已經阻止了虛擬機的IP。我發現它具有:iptables仍然阻塞服務器,即使刪除後
iptables -L -n --line | grep "xxxxx"
原來它被擋在了ALLOWIN和ALLOWOUT鏈。
iptables -D ALLOWIN -s x.x.x.x -j DROP
iptables -D ALLOWOUT -s x.x.x.x -j DROP
所保存的配置:
service iptables save
我甚至嘗試重新啓動,使用:所以,我刪除它
/etc/init.d/iptables restart
然後我嘗試在虛擬機上,但它超時:
D:\Users\Andy>ping chambresdhotes.org
Pinging chambresdhotes.org [216.38.63.234] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 216.38.63.234:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
我在一個我還有什麼可以嘗試的。任何建議,非常感謝。
FWIW,我也做了:
iptable -L | grep 123.123.123.123
..但它沒有給出結果(!我假設意味着沒有匹配的規則)