iptables 841 B

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