testvps:~# ping -w 10 google.com
PING google.com (64.233.167.99) 56(84) bytes of data.
--- google.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9087ms
[root@hn ~]# lsmod
Module Size Used by
iptable_nat 26972 0
ip_conntrack 35720 1 iptable_nat
ipt_length 1728 0
ipt_ttl 1856 0
ipt_tcpmss 2112 0
ipt_TCPMSS 3904 0
iptable_mangle 4544 0
ipt_multiport 2048 0
ipt_limit 2176 0
ipt_tos 1600 0
ipt_REJECT 6016 0
iptable_filter 4288 1
ip_tables 20752 11 iptable_nat,ipt_length,ipt_ttl,ipt_tcpmss,ipt_TCPMSS,iptable_mangle,ipt_multiport,ipt_limit,ipt_tos,ipt_REJECT,iptable_filter
As before, I replaced my real IP with 27.16.122.72.
[root@hn ~]# iptables -nvL
Chain INPUT (policy ACCEPT 927 packets, 78071 bytes)
pkts bytes target prot opt in out source destination
927 78071 PORTSEN all -- * * 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT 30 packets, 4722 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 839 packets, 95014 bytes)
pkts bytes target prot opt in out source destination
Chain PORTSEN (1 references)
pkts bytes target prot opt in out source destination
[root@hn ~]# iptables -t nat -vnL POSTROUTING
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 SNAT all -- * eth0 172.16.0.0/16 0.0.0.0/0 to:27.16.122.72