[PC-BSD Commits] r4689 - pcbsd/trunk/system-overlay/usr/PCBSD/Scripts
svn at pcbsd.org
svn at pcbsd.org
Tue Oct 20 07:45:05 PDT 2009
Author: kris
Date: 2009-10-20 07:45:05 -0700 (Tue, 20 Oct 2009)
New Revision: 4689
Modified:
pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/reset-firewall
Log:
Added NFS ports to our file-wall generation script
Modified: pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/reset-firewall
===================================================================
--- pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/reset-firewall 2009-10-20 14:33:48 UTC (rev 4688)
+++ pcbsd/trunk/system-overlay/usr/PCBSD/Scripts/reset-firewall 2009-10-20 14:45:05 UTC (rev 4689)
@@ -36,11 +36,18 @@
echo "pass in on $inf proto udp from any to ($inf) port 137 keep state" >> $pf_rules
echo "pass in on $inf proto udp from any to ($inf) port 138 keep state" >> $pf_rules
+ echo "pass in on $inf proto udp from any to ($inf) port 111 keep state" >> $pf_rules
+ echo "pass in on $inf proto udp from any to ($inf) port 1110 keep state" >> $pf_rules
+ echo "pass in on $inf proto udp from any to ($inf) port 2049 keep state" >> $pf_rules
+ echo "pass in on $inf proto udp from any to ($inf) port 4045 keep state" >> $pf_rules
- # Setup the defailt TCP entries
+ # Setup the default TCP entries
echo "pass in on $inf proto tcp from any to ($inf) port 445 keep state" >> $pf_rules
echo "pass in on $inf proto tcp from any to ($inf) port 137 keep state" >> $pf_rules
echo "pass in on $inf proto tcp from any to ($inf) port 139 keep state" >> $pf_rules
+ echo "pass in on $inf proto tcp from any to ($inf) port 111 keep state" >> $pf_rules
+ echo "pass in on $inf proto tcp from any to ($inf) port 1110 keep state" >> $pf_rules
+ echo "pass in on $inf proto tcp from any to ($inf) port 4045 keep state" >> $pf_rules
# Check if there are any extra ports to open and do so
if [ ! -z "$@" ]
More information about the Commits
mailing list