摘要: #配置,禁止进,允许出,允许回环网卡 iptables -P INPUT DROP iptables -P OUTPUT ACCEPT iptables -A INPUT -i lo -j ACCEPT #允许ping,不允许删了就行 iptables -A INPUT -p icmp -j ACCEPT #允许ssh iptables -A INPUT -p tcp -m tcp --dpor... 阅读全文
posted @ 2018-06-21 13:25 first_semon 阅读(132) 评论(0) 推荐(0) 编辑