Hello all!
I have been searching the forum and the web, and I have not found the solution to the problem with pf firewall.
I run FreeBSD version:
The problem is that the ruleset is not loaded at reboot.
If I reboot and run:
No output from command.
If I run:
Ruleset is loaded
Or if I run:
Ruleset is loaded.
My rc.config has the following for pf:
I have tried using:
I get the same result, not read and is read with restart or -f flag.
I have also tried using:
I get the same result again, not read and is read with restart or -f flag.
If I just test my conf file:
There is no errors.
I find no errors in log files either.
pf is running, if I run:
I don't know how to proceed?
Many thanks in advance!
Best regards
Marcus
I have been searching the forum and the web, and I have not found the solution to the problem with pf firewall.
I run FreeBSD version:
Code:
freebsd-version
11.0-RELEASE-p5
The problem is that the ruleset is not loaded at reboot.
If I reboot and run:
pfctl -sr
No output from command.
If I run:
service pf restart
Ruleset is loaded
Or if I run:
pfctl -f /etc/pf.conf
Ruleset is loaded.
My rc.config has the following for pf:
Code:
pf_enable="YES"
pflog_enable="YES"
Code:
pf_rules="/etc/pf.conf"
I have also tried using:
Code:
pf_flags="-f /etc/pf.conf"
If I just test my conf file:
pfctl -nvf /etc/pf.conf
There is no errors.
I find no errors in log files either.
pf is running, if I run:
Code:
pfctl -e
pfctl: pf already enabled
I don't know how to proceed?
Many thanks in advance!
Best regards
Marcus