Update pf.sh

This commit is contained in:
FusionPBX 2017-04-03 17:25:28 -06:00 committed by GitHub
parent 8ef506552f
commit d2bb11970b
1 changed files with 8 additions and 1 deletions

View File

@ -9,5 +9,12 @@ cd "$(dirname "$0")"
#send a message #send a message
verbose "Configuring PF" verbose "Configuring PF"
#install the PF config #enable the service
echo 'pf_enable="YES"' >> /etc/rc.conf
echo 'pf_rules="/etc/firewall"' >> /etc/rc.conf
echo 'pf_flags=""' >> /etc/rc.conf
echo 'pflog_enable="YES"' >> /etc/rc.conf
echo 'pflog_logfile="/var/log/pflog"' >> /etc/rc.conf
echo 'pflog_flags=""' >> /etc/rc.conf