PF Syntax error in config file, pf.conf

Hello,

I have added this line to the pf.conf file
Code:
nat on ppp0 en0:network to any -> (ppp0)

And when I run
Code:
sudo pfctl -e -f /etc/pf.conf

I got:
Code:
pfctl: Use of -f option, could result in flushing of rules
present in the main ruleset added by the system at startup.
See /etc/pf.conf for further details.

No ALTQ support in kernel
ALTQ related functions disabled
/etc/pf.conf:24: syntax error
pfctl: Syntax error in config file: pf rules not loaded
 
Use pfctl -nf /etc/pf.conf to test your rules without applying them.
 
Back
Top