/bin/sh # Flush all current rules from iptablesiptables -F# Allow SSHconnections on tcp port 22 iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT# O
我无法在vestacp面板和ssh中启动/重新启动iptables。当我按下这些按钮时,服务器挂起,我必须通过提供商的面板重新启动它。当我这样做时: service iptables启动,然后我得到答案: Failed to start iptables.service: Unit iptables.service not found