* Little-John ([EMAIL PROTECTED]) ha scritto:
> * sim ton ([EMAIL PROTECTED]) ha scritto:
> > hi,
> > so my firewall is almost good :)
> > but i want to init it at any reboot ...
> > ...

> once your firewall is setup, just do:
> $ iptables-save > /etc/init.d/myfirewallrules
> 
> and in the init.d directory the firewall.sh is:
> 
> echo -ne "Starting Firewall... "
> echo 1 > /proc/sys/net/ipv4/ip_forward
> /usr/sbin/iptables-restore < /etc/init.d/firwal2
                                           ^^^^^^^
this *has* to be myfirewallrules, or it won't work.

> echo -ne "done\n"

--
 littlejohn -- dynebolic developer -- dynebolic.dyne.org
 latest iso: http://mufhd0.dyne.org/dynebolic-0.4.iso.gz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Reply via email to