Page 1 of 1

Iptables not working

Posted: 07 Aug 2013, 11:10
by patherton
Hi:

I know we have /etc/rc.d/rc.Firewall script, but after a while of internet usage, I have zero packets processed and zero dropped, using iptables -nvL command. During boot, I get a message that firewall started. but, I dont think iptables is started no /etc/rc.d/rc.iptables, or /etc/init.d/iptables comand. I had to compile and install iptables from netfilter.org.

Thanks
PA

Re: Iptables not working

Posted: 07 Aug 2013, 16:13
by fanthom
hi patherton,

you have to start firewall manually so please add to rc.local:

Code: Select all

sh /etc/rc.d/rc.FireWall start
in porteus 2.1 final it will be enough to make this file executable as i have added relevant check to the booting scripts.
I dont think iptables is started no /etc/rc.d/rc.iptables, or /etc/init.d/iptables comand
there is /sbin/iptables (symlink) so must be run by root.