Advertisement
Guest User

Untitled

a guest
Mar 9th, 2013
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1.  
  2. # Allow all on loopback
  3. pass in quick on lo0 all
  4. pass out quick on lo0 all
  5.  
  6. # Allow all on private interfaces
  7. pass in quick on net1 all
  8. pass out quick on net1 all
  9.  
  10. # Allow outgoing on public interfaces
  11. pass out from any on net0 all
  12.  
  13. # Allow pings and ssh
  14. pass in quick on net0 proto icmp all keep state
  15. pass in quick on net0 proto tcp all port=22 keep state
  16.  
  17. # Disallow all incoming on public interfaces
  18. block in from any on net0 all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement