[PC-BSD Commits] r1515 - pcbsd/trunk/system-overlay/usr/local/etc/rc.d
svn at pcbsd.org
svn at pcbsd.org
Mon Mar 3 08:49:19 PST 2008
Author: kris
Date: 2008-03-03 08:49:19 -0800 (Mon, 03 Mar 2008)
New Revision: 1515
Modified:
pcbsd/trunk/system-overlay/usr/local/etc/rc.d/pf_rules
Log:
Updated the pf_rules script so that it makes lines in pf.conf that the
GUI firewall can read
Modified: pcbsd/trunk/system-overlay/usr/local/etc/rc.d/pf_rules
===================================================================
--- pcbsd/trunk/system-overlay/usr/local/etc/rc.d/pf_rules 2008-03-03 16:10:29 UTC (rev 1514)
+++ pcbsd/trunk/system-overlay/usr/local/etc/rc.d/pf_rules 2008-03-03 16:49:19 UTC (rev 1515)
@@ -49,14 +49,14 @@
then
for PORT in `cat /etc/pf.inports | grep "^udp: " | cut -d " " -f 2`
do
- echo "pass in quick on $inf proto udp from any to ($inf) port $PORT keep state" >> $pf_rules
+ echo "pass in on $inf proto udp from any to ($inf) port $PORT keep state" >> $pf_rules
done
fi
if [ -e "/etc/pf.inports" ]
then
for PORT in `cat /etc/pf.inports | grep "^tcp: " | cut -d " " -f 2`
do
- echo "pass in quick on $inf proto tcp from any to ($inf) port $PORT keep state" >> $pf_rules
+ echo "pass in on $inf proto tcp from any to ($inf) port $PORT keep state" >> $pf_rules
done
fi
More information about the Commits
mailing list