PF Firewall Introduction

PF Firewall Introduction

pfctl -e - enable pf
pfctl -d - disable pf
pfctl -f /etc/pf.conf - load rules from file
pass in on egress proto tcp from any to any port 22 - allow SSH
block in all - block all incoming by default"

Article author: Arthur Isaev