Files
2026-09-22 04:37:10 +03:00

311 B

Firewall

Show rules

pfctl -sr    # view rules
pfctl -ss    # view state
pfctl -si    # view stats
pfctl -sa    # view all

Write rules

/etc/pf.conf

lan = stge0
block out tcp from $lan to any port {80,443}

Apply rules

pfctl -d
pfctl -f /etc/pf.conf
pfctl -e