]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - SunOS4/reload
Import IP-Filter 5.1.2 into vendor branches using the existing license that
[FreeBSD/FreeBSD.git] / SunOS4 / reload
1 #!/bin/sh
2 # $Id$
3
4 DIR=/usr/local/ip_fil
5
6 if [ -f $DIR/mkroutes ]; then
7         $DIR/mkroutes >/dev/null 2>&1
8 fi
9
10 #LOG=none
11 LOG=nomatch
12
13 # perform changes to inactive filter set
14 # clear all filters
15 # load filters
16 # select log flags
17 # swap filter sets
18 /usr/local/etc/ipf -I -Fa -f $DIR/filters -l $LOG -s
19
20 # load ip translations
21 /usr/local/etc/ipnat -Cf $DIR/trans