Guest User

Untitled

a guest
Dec 7th, 2016
269
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Generated by iptables-save v1.6.0 on Wed Dec 7 11:03:51 2016
  2. *mangle
  3. :PREROUTING ACCEPT [212188:46667299]
  4. :INPUT ACCEPT [0:0]
  5. :FORWARD ACCEPT [158204:42105125]
  6. :OUTPUT ACCEPT [66080:12482930]
  7. :POSTROUTING ACCEPT [224297:54589432]
  8. :DIVERT - [0:0]
  9. -A PREROUTING -p tcp -m socket -j DIVERT
  10. -A PREROUTING -d 190.211.140.5/32 -p tcp -m multiport --dports 22,80,443,3127,3128,3129,8000,8080,10000 -j ACCEPT
  11. -A PREROUTING ! -d 190.211.140.5/32 -p tcp -m multiport --dports 80,8080,8000 -j TPROXY --on-port 3127 --on-ip 0.0.0.0 --tproxy-mark 0x1/0x1
  12. -A PREROUTING ! -d 190.211.140.5/32 -p tcp -m multiport --dports 443 -j TPROXY --on-port 3129 --on-ip 0.0.0.0 --tproxy-mark 0x1/0x1
  13. -A INPUT -j ACCEPT
  14. -A DIVERT -j MARK --set-xmark 0x1/0xffffffff
  15. -A DIVERT -j ACCEPT
  16. COMMIT
  17. # Completed on Wed Dec 7 11:03:51 2016
  18. # Generated by iptables-save v1.6.0 on Wed Dec 7 11:03:51 2016
  19. *filter
  20. :INPUT ACCEPT [79984:11911336]
  21. :FORWARD DROP [0:0]
  22. :OUTPUT ACCEPT [66084:12484034]
  23. -A INPUT -p tcp -m tcp --dport 3129 -j ACCEPT
  24. -A FORWARD -i p5p1 -o p4p1 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  25. -A FORWARD -i p4p1 -o p5p1 -j ACCEPT
  26. -A FORWARD -j LOG
  27. COMMIT
  28. # Completed on Wed Dec 7 11:03:51 2016
  29. # Generated by iptables-save v1.6.0 on Wed Dec 7 11:03:51 2016
  30. *nat
  31. :PREROUTING ACCEPT [43386:3397794]
  32. :INPUT ACCEPT [37007:2699155]
  33. :OUTPUT ACCEPT [1209:80287]
  34. :POSTROUTING ACCEPT [256:15360]
  35. :BYPASS - [0:0]
  36. -A PREROUTING -s 10.0.0.0/24 -d 10.0.0.10/32 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
  37. -A PREROUTING -s 10.0.0.0/24 -d 10.0.0.10/32 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
  38. -A PREROUTING -i p5p1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
  39. -A POSTROUTING -o p5p1 -j MASQUERADE
  40. -A POSTROUTING -o p5p1 -j MASQUERADE
  41. -A POSTROUTING -s 10.0.0.0/24 -j MASQUERADE
  42. COMMIT
  43. # Completed on Wed Dec 7 11:03:51 2016
RAW Paste Data