#Default policy iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT DROP 这条命令一设完,马上等着哭吧。