Skip to content

Instantly share code, notes, and snippets.

@pquerna

pquerna/pf.conf Secret

Created September 5, 2012 20:09
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 pquerna/e5775fd52f1feed60593 to your computer and use it in GitHub Desktop.
Save pquerna/e5775fd52f1feed60593 to your computer and use it in GitHub Desktop.
scrub in all
block in log all
set skip on lo0
pass in quick proto icmp6 all
pass in quick proto icmp all
pass in log quick on xn0 proto tcp from any to any port 22 keep state
pass in log quick on xn0 proto tcp from any to any port 80 keep state
pass in log quick on xn0 proto tcp from any to any port 443 keep state
pass in log quick on xn1 proto tcp from any to any port 80 keep state
pass in log quick on xn1 proto tcp from any to any port 443 keep state
# pass in log all keep state
pass out log all keep state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment