[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Two network cards - firewall starts twice or more



Hello

Thank You for replay

> First of all, you probably don't want to start your firewall prior to
> your interface being brought up (pre-up). This would causa ......

You're right, I've moved my script again to /etc/network/if-up.d. I've
thought it's better have script in if-pre-up.d (more secure, becaouse
firewall starts before interface being brought up, but I was mistaken) 

> To only run when a particular interface is brought up, just check the
> contents of the IFACE before loading the rules:

I've added this to my script and now firewall starts once :) Great
Thanks

PS.
My firewall logs me all messages to console, it's good idea to set 
KLOGD="-c 4" In /etc/init.d/klogd?

--
Best regards



Reply to: