Advertisement
Guest User

Untitled

a guest
Apr 19th, 2015
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. isley@ramuh ~ $ cat /etc/pf.conf.nat
  2. #
  3. # Default PF configuration file.
  4. #
  5. # This file contains the main ruleset, which gets automatically loaded
  6. # at startup. PF will not be automatically enabled, however. Instead,
  7. # each component which utilizes PF is responsible for enabling and disabling
  8. # PF via -E and -X as documented in pfctl(8). That will ensure that PF
  9. # is disabled only when the last enable reference is released.
  10. #
  11. # Care must be taken to ensure that the main ruleset does not get flushed,
  12. # as the nested anchors rely on the anchor point defined here. In addition,
  13. # to the anchors loaded by this file, some system services would dynamically
  14. # insert anchors into the main ruleset. These anchors will be added only when
  15. # the system service is used and would removed on termination of the service.
  16. #
  17. # See pf.conf(5) for syntax.
  18. #
  19. set block-policy return
  20. #
  21. # com.apple anchor point
  22. #
  23. scrub-anchor "com.apple/*"
  24. #nat-anchor "com.apple/*"
  25. nat on en1 from 192.168.1.0/24 to any -> (en1)
  26. rdr-anchor "com.apple/*"
  27. dummynet-anchor "com.apple/*"
  28. anchor "com.apple/*"
  29. load anchor "com.apple" from "/etc/pf.anchors/com.apple"
  30. include "/Users/isley/etc/pf.conf"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement