Advertisement
Guest User

Untitled

a guest
Mar 9th, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. # IPF Configuration File
  2. # 1. Allow SSH on all nodes
  3. # 2. Allow pings
  4. # 3. Allow all traffic on private and loopback interfaces
  5. # 4. Allow outgoing on public interface
  6. # 5. Block all unhandled inbound traffic on public interface
  7. #
  8.  
  9. # 1.
  10. pass in quick on net0 proto tcp from any to any port=22 keep state
  11.  
  12. # 2.
  13. pass in quick on net0 proto icmp from any to any keep state
  14.  
  15. # 3.
  16. pass in quick on net1 all
  17. pass out quick on net1 all
  18. pass in quick on lo0 all
  19. pass out quick on lo0 all
  20.  
  21. # 4.
  22. pass out quick on net0 all
  23.  
  24. # 5.
  25. block in on net0 all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement