SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Generated by iptables-save v1.4.7 on Wed Jul 10 16:13:49 2019
  2. *nat
  3. :PREROUTING ACCEPT [360:24859]
  4. :POSTROUTING ACCEPT [0:0]
  5. :OUTPUT ACCEPT [0:0]
  6. -A PREROUTING -d 10.106.3.96/32 -p tcp -m tcp --dport 60000 -j DNAT --to-destination 10.106.122.211:3389
  7. -A POSTROUTING -d 10.106.122.221/32 -p tcp -m tcp --dport 3389 -j SNAT --to-source 10.106.3.96
  8. -A POSTROUTING -o eth0 -j MASQUERADE
  9. -A POSTROUTING -j LOG
  10. -A OUTPUT -d 10.106.3.96/32 -p tcp -m tcp --dport 60000 -j DNAT --to-destination 10.106.122.221
  11. COMMIT
  12. # Completed on Wed Jul 10 16:13:49 2019
  13. # Generated by iptables-save v1.4.7 on Wed Jul 10 16:13:49 2019
  14. *filter
  15. :INPUT ACCEPT [0:0]
  16. :FORWARD ACCEPT [9:468]
  17. :OUTPUT ACCEPT [590:94960]
  18. -A INPUT -i eth0 -p tcp -m tcp --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT
  19. -A INPUT -i eth0 -p tcp -m tcp --dport 60000 -m state --state NEW,ESTABLISHED -j ACCEPT
  20. -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
  21. -A INPUT -p icmp -j ACCEPT
  22. -A INPUT -i lo -j ACCEPT
  23. -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
  24. -A INPUT -j REJECT --reject-with icmp-host-prohibited
  25. -A INPUT -j LOG
  26. -A FORWARD -d 10.106.122.221/32 -i eth0 -p tcp -m tcp --dport 3389 -j ACCEPT
  27. -A FORWARD -j LOG
  28. COMMIT
  29. # Completed on Wed Jul 10 16:13:49 2019
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top