Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@vpnsquid ~]# iptables -t nat -vnL
- Chain PREROUTING (policy ACCEPT 1128 packets, 64046 bytes)
- pkts bytes target prot opt in out source destination
- 4 240 REDIRECT tcp -- tun1 * 172.8.0.0/24 0.0.0.0/0 tcp dpt:80 redir ports 3128
- 0 0 REDIRECT tcp -- tun1 * 172.8.0.0/24 0.0.0.0/0 tcp spt:80 redir ports 3128
- Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
- pkts bytes target prot opt in out source destination
- 0 0 MASQUERADE all -- * eth0 172.8.0.0/24 0.0.0.0/0
- 0 0 MASQUERADE all -- * tun1 172.8.0.0/24 0.0.0.0/0
- 1 145 MASQUERADE all -- * eth0 0.0.0.0/0 0.0.0.0/0
- 9 664 MASQUERADE all -- * tun+ 0.0.0.0/0 0.0.0.0/0
- Chain OUTPUT (policy ACCEPT 15 packets, 3663 bytes)
- pkts bytes target prot opt in out source destination
- [root@vpnsquid ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement