Last active
August 29, 2015 14:16
-
-
Save dronov/d55f6ce82d67794d5797 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/pf.conf | |
ext_if="re0" | |
int_if="wlan0" | |
set skip on lo0 | |
scrub in all | |
nat on $ext_if from $int_if:network to any -> ($ext_if) | |
block all | |
pass in on $int_if from any to any | |
pass out on $ext_if from $ext_if to any | |
pass in on $ext_if proto tcp from any to $ext_if port ssh | |
pass in inet proto icmp all icmp-type echoreq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment