iptables -F iptables -X iptables -Z iptables -A INPUT -p tcp --dport 1723 -j ACCEPT iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j SNAT --to-source x.x.x.x(外网IP) service iptables save service iptables restart
iptables -F iptables -X iptables -Z iptables -A INPUT -p tcp --dport 1723 -j ACCEPT iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j SNAT --to-source x.x.x.x(外网IP) service iptables save service iptables restart