#!/bin/bash
#

## Firewall Script
#  01-07-26  by Erik Wegner
#  squid-out-up <Interface>
#

INT=$1  # Interface

if test -z $1 ; then
	echo "squid-out-up <Interface> "
	echo "e.g.: squid-out-up ppp0 "
	exit 2
fi

# Pfad zu IPTables
if test -z $IPTABLES ; then
	IPTABLES=/usr/sbin/iptables
fi

## Ports
#  Nicht-privilegierte = 1024-65535
P_HIGH=1024:65535

echo -e "\n#Squid Out"
echo "$IPTABLES -A OUTPUT -o $INT \\"
echo "	-p TCP -j ACCEPT"

