SHARE
TWEET

Untitled

a guest Feb 20th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@M14EBR:~# iptables-save
  2. # Generated by xtables-save v1.8.2 on Wed Feb 20 12:57:49 2019
  3. *filter
  4. :INPUT ACCEPT [0:0]
  5. :FORWARD ACCEPT [0:0]
  6. :OUTPUT ACCEPT [0:0]
  7. -A INPUT -i virbr0 -p udp -m udp --dport 53 -j ACCEPT
  8. -A INPUT -i virbr0 -p tcp -m tcp --dport 53 -j ACCEPT
  9. -A INPUT -i virbr0 -p udp -m udp --dport 67 -j ACCEPT
  10. -A INPUT -i virbr0 -p tcp -m tcp --dport 67 -j ACCEPT
  11. -A FORWARD -d 192.168.122.0/24 -o virbr0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  12. -A FORWARD -s 192.168.122.0/24 -i virbr0 -j ACCEPT
  13. -A FORWARD -i virbr0 -o virbr0 -j ACCEPT
  14. -A FORWARD -o virbr0 -j REJECT --reject-with icmp-port-unreachable
  15. -A FORWARD -i virbr0 -j REJECT --reject-with icmp-port-unreachable
  16. -A FORWARD -i virbr0 -j REJECT --reject-with icmp-port-unreachable
  17. -A OUTPUT -o virbr0 -p udp -m udp --dport 68 -j ACCEPT
  18. COMMIT
  19. # Completed on Wed Feb 20 12:57:49 2019
  20. # Generated by xtables-save v1.8.2 on Wed Feb 20 12:57:49 2019
  21. *nat
  22. :PREROUTING ACCEPT [0:0]
  23. :INPUT ACCEPT [0:0]
  24. :POSTROUTING ACCEPT [0:0]
  25. :OUTPUT ACCEPT [0:0]
  26. -A POSTROUTING -s 192.168.122.0/24 -d 224.0.0.0/24 -j RETURN
  27. -A POSTROUTING -s 192.168.122.0/24 -d 255.255.255.255/32 -j RETURN
  28. -A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p tcp -j MASQUERADE --to-ports 1024-65535
  29. -A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p udp -j MASQUERADE --to-ports 1024-65535
  30. -A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -j MASQUERADE
  31. COMMIT
  32. # Completed on Wed Feb 20 12:57:49 2019
  33. # Generated by xtables-save v1.8.2 on Wed Feb 20 12:57:49 2019
  34. *mangle
  35. :PREROUTING ACCEPT [0:0]
  36. :INPUT ACCEPT [0:0]
  37. :FORWARD ACCEPT [0:0]
  38. :OUTPUT ACCEPT [0:0]
  39. :POSTROUTING ACCEPT [0:0]
  40. -A POSTROUTING -o virbr0 -p udp -m udp --dport 68 -j CHECKSUM --checksum-fill
  41. COMMIT
  42. # Completed on Wed Feb 20 12:57:49 2019
  43. # Warning: iptables-legacy tables present, use iptables-legacy-save to see them
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