# this file is not parsed, but simply sourced # the source interface (only these packets will be filtered) IF_SRC=eth1 # the server where all first packets get redirected to SPLASH_SERVER=systemausfall.org # templates for the rules to manage forwarding rules (_IP_ will be substituted by the host's IP) RULE_ADD='$IPT -I $CHAIN_ALL -s _IP_ -j $CHAIN_FORWARD' RULE_DEL='$IPT -D $CHAIN_ALL -s _IP_ -j $CHAIN_FORWARD' # the iptables chain, that contains all forwarded ips CHAIN_ALL=web_splash CHAIN_FORWARD=web_splash_forward CHAIN_REDIRECT=web_splash_reject # the iptables action for bad packets (e.g. DROP or REJECT) REJECT_ACTION=REJECT # the location of the iptables program IPT=/sbin/iptables [ ! -x "$IPT" ] && IPT=/usr/sbin/iptables