Iptables not working

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
patherton
Ronin
Ronin
Posts: 3
Joined: 23 Jul 2013, 08:00
Distribution: ArchLinux
Location: Wherever

Iptables not working

Post#1 by patherton » 07 Aug 2013, 11:10

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

User avatar
fanthom
Site Admin
Site Admin
Posts: 4567
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Iptables not working

Post#2 by fanthom » 07 Aug 2013, 16:13

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.
Please add [Solved] to your thread title if the solution was found.

Post Reply