You are not logged in.

#1 2011-09-09 18:30:33

hombrelectrico
Member
Registered: 2011-08-29
Posts: 2

Ufw and iptables

Hi all, i'm just lerning to set up a server using arch!

Right now i'am running ufw daemon, do i need to have the iptables daemon running too? I'm confused becase I read that ufw implements iptables, but right now the iptables daemon is stopped and ufw is working fine.

I'm confused! thanks for your help

Here is my rc.d list:

[STARTED][AUTO] crond
[STARTED][AUTO] fail2ban
[STOPPED][    ] gpm
[STARTED][AUTO] httpd
[STARTED][AUTO] hwclock
[STOPPED][    ] ip6tables
[STOPPED][    ] iptables
[STOPPED][    ] krb5-kadmind
[STOPPED][    ] krb5-kdc
[STARTED][AUTO] mysqld
[STARTED][AUTO] netfs
[STARTED][AUTO] network
[STOPPED][    ] nscd
[STOPPED][    ] ntpd
[STOPPED][    ] ntpdate
[STARTED][AUTO] postfix
[STARTED][AUTO] sshd
[STOPPED][    ] svnserve
[STARTED][AUTO] syslog-ng
[STARTED][AUTO] ufw

Regards
Hombrelectrico

PD.: Love arch, really (ex centos -newbie too- user) ^^

Offline

#2 2011-09-09 19:23:46

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Ufw and iptables

Afair the iptables daemon only loads your settings for iptables. In your case this is done by ufw, so there's no need for the iptables daemon to be started. You can check if the settings are set with e.g.

iptables -nvL

Offline

#3 2011-09-09 22:14:05

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Ufw and iptables

The low-level firewall code is in the kernel, not run by a daemon program.

Offline

#4 2011-09-09 23:42:49

hombrelectrico
Member
Registered: 2011-08-29
Posts: 2

Re: Ufw and iptables

Ok! nice and usefull information! thank you!!

Offline

Board footer

Powered by FluxBB