标签:
# Generated by iptables-save v1.4.7 on Thu May 12 17:31:40 2016 *nat :OUTPUT ACCEPT [0:0] :PREROUTING ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] -A POSTROUTING -s 10.0.0.0/24 -o eth0 -j SNAT --to 192.168.1.148 COMMIT # Completed on Thu May 12 17:31:40 2016 # Generated by iptables-save v1.4.7 on Thu May 12 17:31:40 2016 *mangle :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] COMMIT # Completed on Thu May 12 17:31:40 2016 # Generated by iptables-save v1.4.7 on Thu May 12 17:31:40 2016 *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT COMMIT # Completed on Thu May 12 17:31:40 2016
标签:
原文地址:http://www.cnblogs.com/configure/p/5619534.html