Skip to content

Instantly share code, notes, and snippets.

@mrvisser
Created March 25, 2013 13:07
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 mrvisser/5236971 to your computer and use it in GitHub Desktop.
Save mrvisser/5236971 to your computer and use it in GitHub Desktop.
# IPF Configuration File
# 1. Allow all traffic on private and loopback interfaces
# 2. Allow outgoing on public interface
# 3. Block all unhandled inbound traffic on public interface
# 1.
pass in quick on net1 all
pass out quick on net1 all
pass in quick on lo0 all
pass out quick on lo0 all
# 2.
pass out quick on net0 all keep state
## Custom application rules
# 3.
block in on net0 all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment