PF Syntax

Not exactly. FreeBSD's PF got imported from a relatively old OpenBSD version (4.5 if I remember correctly). OpenBSD's PF and FreeBSD's PF have diverged quite a bit over the years.
 
Is there a FreeBSD syntax for allowing:
- inbound traffic to specific ports
- blocking all traffic.
- "passing all outbound traffic".
Would you please be so kind and refer me to the right tutorial/source?
 
Thank you, sir.
Essentially I would do:
Code:
block all
pass out
pass in proto tcp from any to any port 22
 
Back
Top