ip6tables-enabled 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. *nat
  2. :PREROUTING ACCEPT [0:0]
  3. :OUTPUT ACCEPT [0:0]
  4. :POSTROUTING ACCEPT [0:0]
  5. :PR-QBS - [0:0]
  6. :PR-QBS-SERVICES - [0:0]
  7. -A PREROUTING -j PR-QBS
  8. -A PREROUTING -j PR-QBS-SERVICES
  9. -A POSTROUTING -o vif+ -j ACCEPT
  10. -A POSTROUTING -o lo -j ACCEPT
  11. -A POSTROUTING -j MASQUERADE
  12. COMMIT
  13. *raw
  14. :QBS-PREROUTING - [0:0]
  15. -A PREROUTING -j QBS-PREROUTING
  16. COMMIT
  17. *mangle
  18. :QBS-POSTROUTING - [0:0]
  19. -A POSTROUTING -j QBS-POSTROUTING
  20. COMMIT
  21. *filter
  22. :INPUT DROP [0:0]
  23. :FORWARD DROP [0:0]
  24. :OUTPUT ACCEPT [0:0]
  25. :QBS-FORWARD - [0:0]
  26. -A INPUT -m state --state INVALID -j DROP
  27. -A INPUT -i lo -j ACCEPT
  28. -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  29. -A INPUT -i vif+ -p icmpv6 --icmpv6-type router-advertisement -j DROP
  30. -A INPUT -i vif+ -p icmpv6 --icmpv6-type redirect -j DROP
  31. -A INPUT -i vif+ -p icmpv6 -j ACCEPT
  32. -A INPUT -i vif+ -j REJECT --reject-with icmp6-adm-prohibited
  33. -A INPUT -p icmpv6 -j ACCEPT
  34. -A INPUT -j DROP
  35. -A FORWARD -m state --state INVALID -j DROP
  36. -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  37. -A FORWARD -j QBS-FORWARD
  38. -A FORWARD -i vif+ -o vif+ -j DROP
  39. -A FORWARD -i vif+ -j ACCEPT
  40. -A FORWARD -j DROP
  41. COMMIT