Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is nftables supposed to start independently of firewalld?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Rockman8
n00b
n00b


Joined: 19 Sep 2023
Posts: 19

PostPosted: Tue Aug 20, 2024 2:21 am    Post subject: Is nftables supposed to start independently of firewalld? Reply with quote

Hello guys

I got nftables and firewalld and both services are started along with openRC like so
Code:
rc-update
               binfmt | boot                                   
             bootmisc | boot                                   
              cgroups |                                 sysinit
              chronyd |      default                           
                cupsd |      default                           
                 dbus |      default                           
              deluged |      default                           
                devfs |                                 sysinit
      display-manager |      default                           
                dmesg |                                 sysinit
              elogind | boot                                   
                fcron |      default                           
            firewalld |      default                           
                 fsck | boot                                   
             hostname | boot                                   
              hwclock | boot                                   
              keymaps | boot                                   
            killprocs |                        shutdown       
    kmod-static-nodes |                                 sysinit
             libvirtd |      default                           
                local |      default nonetwork                 
           localmount | boot                                   
             loopback | boot                                   
              modules | boot                                   
             mount-ro |                        shutdown       
                 mtab | boot                                   
          net.enp10s0 |      default                           
             netmount |      default                           
             nftables |      default                           
               procfs | boot                                   
                 root | boot                                   
         save-keymaps | boot                                   
    save-termencoding | boot                                   
            savecache |                        shutdown       
              seedrng | boot                                   
                squid |      default                           
                 swap | boot                                   
               sysctl | boot                                   
                sysfs |                                 sysinit
            syslog-ng |      default                           
 systemd-tmpfiles-setup | boot                                   
 systemd-tmpfiles-setup-dev |                                 sysinit
         termencoding | boot                                   
                 udev |                                 sysinit
         udev-trigger |                                 sysinit
            zram-init | boot   


Is nftable supposed to be started by firewalld? Or it should be started independently? And how do I know if firewalld is using nftables and not iptables?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3909

PostPosted: Tue Aug 20, 2024 5:22 pm    Post subject: Reply with quote

Although its the default you can set
Code:

FirewallBackend=nftables


in /etc/firewalld/firewalld,conf
No you should NOT enable or start nftables service.
_________________
:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum