rendered paste body
# flush existing settings
iptables -F
iptables -X
iptables -t nat -F
# drop all by default
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
# interfaces
wanif="eth0"
wlanif="ath0"
lanif="eth1.2"
dmzif="eth1.3"
safeif="eth1.4"
alpif="eth1.5"
# networks
wanif=""
wlanif="10.0.1.0/24"
lanif="10.0.0.0/24"
dmzif="10.0.2.0/24"
safeif="10.0.3.0/24"
alpif="10.10.0.0/24"
# ip(s)
lanip="10.0.0.1"
wlanip="10.0.1.1"
dmzip="10.0.2.1"
safeip="10.0.3.1"
alpip="10.10.0.1"
# nat
natextip="82.153.32.153"