#!/bin/bash
#

## Firewall Script
#  01-07-26  by Erik Wegner
#  script-up <Interface> <Network>
#

INT=$1  # Interface
NET=$2  # Network

if test -z $1 || test -z $2 ; then
	echo "script-up <Interface> <Network>"
	echo "e.g.: script-up eth0 192.168.4.0/255.255.255.0"
	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


