瀏覽代碼

Update pf.sh

FusionPBX 1 年之前
父節點
當前提交
719a960a79
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      freebsd/resources/pf.sh

+ 5 - 1
freebsd/resources/pf.sh

@@ -5,7 +5,7 @@ cd "$(dirname "$0")"
 
 
 . ./config.sh
 . ./config.sh
 . ./colors.sh
 . ./colors.sh
-
+   
 #send a message
 #send a message
 verbose "Configuring PF"
 verbose "Configuring PF"
 
 
@@ -19,3 +19,7 @@ echo 'pflog_logfile="/var/log/pflog"' >> /etc/rc.conf
 
 
 #copy the pf config file
 #copy the pf config file
 cp pf/pf.conf /etc/pf.conf
 cp pf/pf.conf /etc/pf.conf
+
+#add the pf table files
+touch /etc/pf-block.conf
+touch /etc/pf-pass.conf