New functions to simplify things...

master
bbruns@gmail.com 2010-08-20 19:21:10 +00:00
parent 6b690522d6
commit a7a3132554
1 changed files with 5 additions and 2 deletions

View File

@ -21,7 +21,7 @@
echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
SOSDG/Firewall v0.9.3 SOSDG/Firewall v0.9.4
Brielle Bruns <bruns@2mbit.com> Brielle Bruns <bruns@2mbit.com>
http://www.sosdg.org/freestuff/firewall http://www.sosdg.org/freestuff/firewall
This program comes with ABSOLUTELY NO WARRANTY. This program comes with ABSOLUTELY NO WARRANTY.
@ -34,6 +34,8 @@ TWEAKS=$BASEDIR/tweaks
#BASEDIR=`pwd` #BASEDIR=`pwd`
. $BASEDIR/options . $BASEDIR/options
. $BASEDIR/include/functions
$IPTABLES --flush &>/dev/null $IPTABLES --flush &>/dev/null
$IPTABLES -F OUTPUT &>/dev/null $IPTABLES -F OUTPUT &>/dev/null
@ -45,7 +47,8 @@ if [ $NAT ]; then
fi fi
$IPTABLES -F -t raw &>/dev/null $IPTABLES -F -t raw &>/dev/null
if [ -s "$BASEDIR/include/ipv4_custom_flush" ]; then if [ -s "$BASEDIR/include/ipv4_custom_flush" ]; then
echo -e "\E[33mLoading custom flush rules...\E[37m" display_c YELLOW "Loading custom flush rules..." Y
#echo -e "\E[33mLoading custom flush rules...\E[37m"
. "$BASEDIR/include/ipv4_custom_flush" . "$BASEDIR/include/ipv4_custom_flush"
fi fi