Created
October 12, 2015 06:22
-
-
Save darkgeek/3aeeeadc82b5fb488d67 to your computer and use it in GitHub Desktop.
pf.conf
This file contains 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
allowed_ports="{8000, 8001, 6600, 3000, 4231, https}" | |
icmp_types="echoreq" | |
set skip on lo0 | |
pass in on pppoe0 from pppoe0:network to urtwn0:network keep state | |
pass out on urtwn0 from pppoe0:network to urtwn0:network keep state | |
block in all | |
pass out all keep state | |
pass in quick inet proto tcp from any to any port $allowed_ports keep state | |
pass in quick inet proto icmp from any to any icmp-type $icmp_types keep state |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment