[root@Centos7 ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere state INVALID
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW,ESTABLISHED tcp dpt:ssh
ACCEPT gre -- anywhere anywhere state NEW,ESTABLISHED
ACCEPT all -- anywhere anywhere state RELATED,255)">REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT)
ACCEPT all -- anywhere anywhere state NEW,255)">Chain OUTPUT (policy ACCEPT)
DROP all -- anywhere anywhere state INVALID
[root@Centos7 ~]# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
MASQUERADE all -- 10.0.6.0/24 anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination