#!/bin/sh # # /etc/default/firewall # # Example configuration file for Linux kernel firewall # # Developed by Lubomir Host 'rajo' # Copyright (c) 2004 Platon SDG, http://platon.sk/ # Licensed under terms of GNU General Public License. # All rights reserved. # # Changelog: # 2004-11-14 - created # # $Platon$ DEFAULT_POLICY="DROP" # which modules to load MODULES="ipt_LOG ipt_REJECT ip_conntrack_ftp" LOG_LIMIT="-m limit --limit 12/h --limit-burst 10" # Paths: IPTABLES="/sbin/iptables" #IPTABLES=":" # for testing only - does nothing IFCONFIG="/sbin/ifconfig" DEPMOD="/sbin/depmod" MODPROBE="/sbin/modprobe" RMMOD="/sbin/rmmod" AWK="/usr/bin/awk" # loopback interface LO_IFACE="${LO_IFACE:=lo}" LO_IP="IP_$LO_IFACE" # Which ports will be allowed on INPUT (TCP connections) ALL_ACCEPT_INPUT_TCP="" # interface eth0 eth0_ACCEPT_INPUT_TCP="123 137 138 139 631 22 80 443 3128" # interface eth1 eth1_ACCEPT_INPUT_TCP="22 80 6000" # interface ppp0 ppp0_ACCEPT_INPUT_TCP="" # Which ports will be allowed on INPUT (UDP connections) # interface eth0 eth0_ACCEPT_INPUT_UDP="123 137 138 139 513 631" # interface ppp0 ppp0_ACCEPT_INPUT_UDP=""