iptables 1022 B

123456789101112131415161718192021222324252627282930313233
  1. # Generated by iptables-save v1.4.5 on Mon Sep 6 08:57:46 2010
  2. *nat
  3. :PREROUTING ACCEPT [85:5912]
  4. :OUTPUT ACCEPT [0:0]
  5. :POSTROUTING ACCEPT [0:0]
  6. :PR-QBS - [0:0]
  7. :PR-QBS-SERVICES - [0:0]
  8. -A PREROUTING -j PR-QBS
  9. -A PREROUTING -j PR-QBS-SERVICES
  10. -A POSTROUTING -o vif+ -j ACCEPT
  11. -A POSTROUTING -o lo -j ACCEPT
  12. -A POSTROUTING -j MASQUERADE
  13. COMMIT
  14. # Completed on Mon Sep 6 08:57:46 2010
  15. # Generated by iptables-save v1.4.5 on Mon Sep 6 08:57:46 2010
  16. *filter
  17. :INPUT ACCEPT [168:11399]
  18. :FORWARD ACCEPT [0:0]
  19. :OUTPUT ACCEPT [128:12536]
  20. :QBS-FORWARD - [0:0]
  21. -A INPUT -i vif+ -p udp -m udp --dport 68 -j DROP
  22. -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  23. -A INPUT -i vif+ -p icmp -j ACCEPT
  24. -A INPUT -i lo -j ACCEPT
  25. -A INPUT -i vif+ -j REJECT --reject-with icmp-host-prohibited
  26. -A INPUT -j DROP
  27. -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  28. -A FORWARD -j QBS-FORWARD
  29. -A FORWARD -i vif+ -o vif+ -j DROP
  30. -A FORWARD -i vif+ -j ACCEPT
  31. -A FORWARD -j DROP
  32. COMMIT
  33. # Completed on Mon Sep 6 08:57:46 2010