version 1.197, 2002/06/09 21:15:54 |
version 1.198, 2002/06/11 04:51:39 |
|
|
RULES="$RULES\npass out proto udp from any to any port { 111, 2049 }" |
RULES="$RULES\npass out proto udp from any to any port { 111, 2049 }" |
;; |
;; |
esac |
esac |
echo $RULES | pfctl -R - -e |
echo $RULES | pfctl -f - -e |
fi |
fi |
|
|
if [ -f /etc/sysctl.conf ]; then |
if [ -f /etc/sysctl.conf ]; then |
|
|
. /etc/netstart |
. /etc/netstart |
|
|
if [ "X${pf}" != X"NO" ]; then |
if [ "X${pf}" != X"NO" ]; then |
if [ -f ${nat_rules} ]; then |
|
pfctl -N ${nat_rules} |
|
fi |
|
if [ -f ${pf_rules} ]; then |
if [ -f ${pf_rules} ]; then |
pfctl -R ${pf_rules} |
pfctl -f ${pf_rules} |
fi |
fi |
fi |
fi |
|
|