Advertisement
Infra_HDC

firewall-2012

Nov 14th, 2015
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. # Generated by iptables-save v1.4.8 on Tue Feb 7 15:52:09 2012
  2. *filter
  3. :INPUT DROP [0:0]
  4. :FORWARD DROP [0:0]
  5. :OUTPUT ACCEPT [2823:3157616]
  6. -A INPUT -i lo -j ACCEPT
  7. -A INPUT -s <my.home.net/28> -j ACCEPT
  8. -A INPUT -p ipv6 -j ACCEPT
  9. -A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
  10. -A INPUT -p icmp -m icmp --icmp-type 3 -j ACCEPT
  11. -A INPUT -p icmp -m icmp --icmp-type 4 -j ACCEPT
  12. -A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
  13. -A INPUT -p icmp -m icmp --icmp-type 11 -j ACCEPT
  14. -A INPUT -p tcp -m tcp --dport 25 -j ACCEPT
  15. -A INPUT -p tcp -m tcp -s <my.work.ip> --dport 22 -j ACCEPT
  16. -A INPUT -m state --state INVALID -j DROP
  17. -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
  18. -A INPUT -p tcp -m tcp --dport 3128 -m state --state NEW -j LOG
  19. COMMIT
  20. # Completed on Tue Feb 7 15:52:09 2012
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement