Advertisement
trupsalms

iptables -t nat -vnL

Jul 21st, 2017
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. [root@vpnsquid ~]# iptables -t nat -vnL
  2. Chain PREROUTING (policy ACCEPT 1128 packets, 64046 bytes)
  3. pkts bytes target prot opt in out source destination
  4. 4 240 REDIRECT tcp -- tun1 * 172.8.0.0/24 0.0.0.0/0 tcp dpt:80 redir ports 3128
  5. 0 0 REDIRECT tcp -- tun1 * 172.8.0.0/24 0.0.0.0/0 tcp spt:80 redir ports 3128
  6.  
  7. Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
  8. pkts bytes target prot opt in out source destination
  9. 0 0 MASQUERADE all -- * eth0 172.8.0.0/24 0.0.0.0/0
  10. 0 0 MASQUERADE all -- * tun1 172.8.0.0/24 0.0.0.0/0
  11. 1 145 MASQUERADE all -- * eth0 0.0.0.0/0 0.0.0.0/0
  12. 9 664 MASQUERADE all -- * tun+ 0.0.0.0/0 0.0.0.0/0
  13.  
  14. Chain OUTPUT (policy ACCEPT 15 packets, 3663 bytes)
  15. pkts bytes target prot opt in out source destination
  16. [root@vpnsquid ~]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement