Skip to content

Instantly share code, notes, and snippets.

@imajes
Created July 9, 2009 21:42
Show Gist options
  • Save imajes/144024 to your computer and use it in GitHub Desktop.
Save imajes/144024 to your computer and use it in GitHub Desktop.
00100 allow ip from any to any via lo*
00110 deny ip from 127.0.0.0/8 to any in
00120 deny ip from any to 127.0.0.0/8 in
00130 deny ip from 224.0.0.0/3 to any in
00140 deny tcp from any to 224.0.0.0/3 in
01000 allow ip from any to me dst-port 3283,5900,5988 in
01100 allow ip from any to me dst-port 22 in
01200 allow ip from any to me dst-port 9091 in
01300 allow tcp from any to any out
01300 allow tcp from any to any established
01400 allow ip from any to me dst-port 53 in
01500 allow ip from any to me dst-port 50505 in
01600 allow ip from any to me dst-port 21,20
01700 allow ip from any to me dst-port 49152-65534
65534 deny tcp from any to any
65535 allow ip from any to any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment