iptables 975 B

12345678910111213141516171819202122232425262728293031
  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. -A INPUT -i vif+ -p udp -m udp --dport 68 -j DROP
  21. -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  22. -A INPUT -i vif+ -p icmp -j ACCEPT
  23. -A INPUT -i lo -j ACCEPT
  24. -A INPUT -i vif+ -j REJECT --reject-with icmp-host-prohibited
  25. -A INPUT -j DROP
  26. -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  27. -A FORWARD -i vif+ -o vif+ -j DROP
  28. -A FORWARD -i vif+ -j ACCEPT
  29. -A FORWARD -j DROP
  30. COMMIT
  31. # Completed on Mon Sep 6 08:57:46 2010