Skip to content

Commit

Permalink
Update pf.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
markjcrane committed Jul 14, 2018
1 parent 9bcc378 commit 6f85e00
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions source/firewall/pf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,15 @@ Basic Rules
| ``pass in quick inet proto tcp from any to any port 5080 keep state``
| ``pass in quick inet proto udp from any to any port 5080 keep state``
| ``pass in quick inet proto udp from any to any port 16384:32768 keep state``
Additional Commands
^^^^^^^^^^^^^^^^^^^

Disable pf
pfctl -d

Enable pf
pfctl -e

Show the firewall rules
pfctl -s rules

0 comments on commit 6f85e00

Please sign in to comment.