- 论坛徽章:
- 0
|
本帖最后由 DreamAndLove 于 2012-11-07 20:32 编辑
回复 6# chenyx
iptable rules- # iptables -nvL
- Chain INPUT (policy ACCEPT 2915 packets, 335K bytes)
- pkts bytes target prot opt in out source destination
- Chain FORWARD (policy ACCEPT 3 packets, 180 bytes)
- pkts bytes target prot opt in out source destination
- 2554 2690K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
- Chain OUTPUT (policy ACCEPT 1252 packets, 176K bytes)
- pkts bytes target prot opt in out source destination
- # iptables -t nat -nvL
- Chain PREROUTING (policy ACCEPT 170 packets, 24890 bytes)
- pkts bytes target prot opt in out source destination
- Chain INPUT (policy ACCEPT 168 packets, 24770 bytes)
- pkts bytes target prot opt in out source destination
- Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 2 120 SNAT all -- * * 192.168.0.253 0.0.0.0/0 to:10.27.16.65
复制代码 |
|