iptables 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Generated by iptables-save v1.4.5 on Mon Sep 6 08:57:46 2010
  2. *nat
  3. :PREROUTING ACCEPT [0:0]
  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. *raw
  15. :QBS-PREROUTING - [0:0]
  16. -A PREROUTING -j QBS-PREROUTING
  17. COMMIT
  18. *mangle
  19. :QBS-POSTROUTING - [0:0]
  20. -A POSTROUTING -j QBS-POSTROUTING
  21. COMMIT
  22. # Completed on Mon Sep 6 08:57:46 2010
  23. # Generated by iptables-save v1.4.5 on Mon Sep 6 08:57:46 2010
  24. *filter
  25. :INPUT DROP [0:0]
  26. :FORWARD DROP [0:0]
  27. :OUTPUT ACCEPT [0:0]
  28. :QBS-FORWARD - [0:0]
  29. -A INPUT -m state --state INVALID -j DROP
  30. -A INPUT -i vif+ -p udp -m udp --dport 68 -j DROP
  31. -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  32. -A INPUT -i vif+ -p icmp -j ACCEPT
  33. -A INPUT -i lo -j ACCEPT
  34. -A INPUT -i vif+ -j REJECT --reject-with icmp-host-prohibited
  35. -A INPUT -j DROP
  36. -A FORWARD -m state --state INVALID -j DROP
  37. -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  38. -A FORWARD -j QBS-FORWARD
  39. -A FORWARD -i vif+ -o vif+ -j DROP
  40. -A FORWARD -i vif+ -j ACCEPT
  41. -A FORWARD -j DROP
  42. COMMIT
  43. # Completed on Mon Sep 6 08:57:46 2010