All pastes #553673 Raw Edit

rc.firewall script

public text v1 · immutable
·published 2007-06-09 20:42 UTC
rendered paste body
IP=`ifconfig eth0 | grep inet | cut -b 21-32`

iptables -F
iptables -X
iptables -F -t nat
iptables -P INPUT ACCEPT

echo "Detectare IP .... "$IP