#!/bin/sh
# $Id: reset,v 1.1.5.1 2000/07/16 12:00:01 root Exp root $
# $Date: 2000/07/16 12:00:01 $
#
# File: reset
# Desc: Reset/Clear the firewall rules
# 
# Author : Jens Friedrich
# 
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2, or (at your option)
#   any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
# (c) Copyright 1998 Jens Friedrich
#
# $Log: reset,v $
# Revision 1.1.5.1  2000/07/16 12:00:01  root
# FCT
#
# Revision 1.1.4.2  2000/07/15 19:01:24  jens
# Rev.
#
# Revision 1.1.4.1  1999/08/01 21:44:54  jens
# .
#
# Revision 1.1  1999/08/01 21:44:54  jens
# Initial revision
#
# Revision 1.1.0.1  1998/11/02 09:36:30  jens
# .
#
# Revision 1.1  1998/11/02 09:35:49  jens
# Initial revision
#
# Revision 1.1  1998/11/02 09:33:28  jens
# Initial revision
#
# Revision 1.0.9.1  1998/06/01 19:35:22  jens
# initial ci -r 1.0.9
#
# Revision 1.0  1998/06/01 19:32:57  jens
# initial ci -r 1.0
#
# 

# where is the firewall-package located ?
[ -z "$FWDIR" ] && FWDIR=`echo $0 | sed -e 's/[\/][A-Za-z0-9_\.-]*$//'`

. $FWDIR/etc/net.cfg
. $FWDIR/etc/gateway.sh

$IPFW -I -p accept
$IPFW -O -p accept
$IPFW -F -p accept

$IPFW -I -f
$IPFW -O -f
$IPFW -F -f

