Skip to content

Instantly share code, notes, and snippets.

@daslicht
Created July 8, 2014 09:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daslicht/3af399475b3603948b51 to your computer and use it in GitHub Desktop.
Save daslicht/3af399475b3603948b51 to your computer and use it in GitHub Desktop.
root@h2318011:~# iptables --list
Chain INPUT (policy DROP)
target prot opt source destination
DROP all -- anywhere anywhere source IP range 85.153.25.2-85.153.25.255
DROP all -- anywhere anywhere source IP range 14.164.9.206-14.164.9.206
DROP all -- anywhere anywhere source IP range 211.0.0.0-211.255.255.255
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:8000
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@h2318011:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment