# pfctl -f /etc/pf.conf
No ALTQ support in kernel
ALTQ related functions disabled
/etc/pf.conf:260: syntax error
/etc/pf.conf:261: syntax error
pfctl: Syntax error in config file: pf rules not loaded
Solution:
You need extra single quotes to solve the problem.
net1 = '"172.16.0.0/12"'
net2 = '"192.168.0.0/16"'
net3 = '"10.0.0.0/8"'
allow_hosts = "{" $net1 $net2 $net3 "}"
Saturday, December 10, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment