iptables 872 B

12345678910111213141516171819202122232425262728
  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. -A PREROUTING -j PR-QBS
  8. -A POSTROUTING -o vif+ -j ACCEPT
  9. -A POSTROUTING -o lo -j ACCEPT
  10. -A POSTROUTING -j MASQUERADE
  11. COMMIT
  12. # Completed on Mon Sep 6 08:57:46 2010
  13. # Generated by iptables-save v1.4.5 on Mon Sep 6 08:57:46 2010
  14. *filter
  15. :INPUT ACCEPT [168:11399]
  16. :FORWARD ACCEPT [0:0]
  17. :OUTPUT ACCEPT [128:12536]
  18. -A INPUT -i vif+ -p udp -m udp --dport 68 -j DROP
  19. -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
  20. -A INPUT -p icmp -j ACCEPT
  21. -A INPUT -i lo -j ACCEPT
  22. -A INPUT -j REJECT --reject-with icmp-host-prohibited
  23. -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
  24. -A FORWARD -i vif+ -o vif+ -j DROP
  25. -A FORWARD -i vif+ -j ACCEPT
  26. -A FORWARD -j DROP
  27. COMMIT
  28. # Completed on Mon Sep 6 08:57:46 2010