Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~]# iptables -L -v -n -t nat
- Chain PREROUTING (policy ACCEPT 201 packets, 19142 bytes)
- pkts bytes target prot opt in out source destination
- 401 31142 dnat all -- * * 0.0.0.0/0 0.0.0.0/0
- Chain POSTROUTING (policy ACCEPT 1241 packets, 92080 bytes)
- pkts bytes target prot opt in out source destination
- 819 61842 eth1_masq all -- * eth1 0.0.0.0/0 0.0.0.0/0
- Chain OUTPUT (policy ACCEPT 1220 packets, 90820 bytes)
- pkts bytes target prot opt in out source destination
- 285 17100 RETURN tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 owner UID match 77
- 21 1260 REDIRECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 3128
- Chain dnat (1 references)
- pkts bytes target prot opt in out source destination
- 382 26362 loc_dnat all -- eth0 * 0.0.0.0/0 0.0.0.0/0
- Chain eth1_masq (1 references)
- pkts bytes target prot opt in out source destination
- 0 0 MASQUERADE all -- * * 192.168.1.0/24 0.0.0.0/0
- Chain loc_dnat (1 references)
- pkts bytes target prot opt in out source destination
- 200 12000 REDIRECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 3128
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement