Skip to content

Instantly share code, notes, and snippets.

@ottomata
Created June 22, 2012 19:25
Show Gist options
  • Save ottomata/2974623 to your computer and use it in GitHub Desktop.
Save ottomata/2974623 to your computer and use it in GitHub Desktop.
# Generated by iptables-save v1.4.4 on Fri Jun 22 19:21:11 2012
*filter
:INPUT ACCEPT [165:13104]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [14294822:17599353604]
-A INPUT -s 91.198.174.0/24 -m comment --comment "udp2log_accept_all_AMS_all" -j ACCEPT
-A INPUT -s 10.0.0.0/8 -m comment --comment "udp2log_accept_all_private_all" -j ACCEPT
-A INPUT -s 208.80.152.0/22 -m comment --comment "udp2log_accept_all_US_all" -j ACCEPT
-A INPUT -s 127.0.0.1/32 -m comment --comment "udp2log_accept_all_localhost_all" -j ACCEPT
-A INPUT -p udp -m comment --comment "udp2log_drop_udp_udp" -j DROP
COMMIT
# Completed on Fri Jun 22 19:21:11 2012
# Generated by iptables-save v1.4.4 on Fri Jun 22 19:21:11 2012
*nat
:PREROUTING ACCEPT [147944:11142957]
:POSTROUTING ACCEPT [7:640]
:OUTPUT ACCEPT [7:640]
COMMIT
# Completed on Fri Jun 22 19:21:11 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment