ip6tables-enabled 903 B

12345678910111213141516171819202122232425262728293031
  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. *filter
  14. :INPUT DROP [0:0]
  15. :FORWARD DROP [0:0]
  16. :OUTPUT ACCEPT [0:0]
  17. :QBS-FORWARD - [0:0]
  18. -A INPUT -i lo -j ACCEPT
  19. -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  20. -A INPUT -i vif+ -p icmpv6 --icmpv6-type router-advertisement -j DROP
  21. -A INPUT -i vif+ -p icmpv6 --icmpv6-type redirect -j DROP
  22. -A INPUT -i vif+ -p icmpv6 -j ACCEPT
  23. -A INPUT -i vif+ -j REJECT --reject-with icmp6-adm-prohibited
  24. -A INPUT -p icmpv6 -j ACCEPT
  25. -A INPUT -j DROP
  26. -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  27. -A FORWARD -j QBS-FORWARD
  28. -A FORWARD -i vif+ -o vif+ -j DROP
  29. -A FORWARD -i vif+ -j ACCEPT
  30. -A FORWARD -j DROP
  31. COMMIT