centos端口不通

检测网络:iptables -S -t nat

 iptables -P  FORWARD  ACCEPT

开机自启:

vim   /etc/rc.local 
iptables -P FORWARD   ACCEPT