View previous topic :: View next topic |
Author |
Message |
RIA77 Guru
Joined: 24 Feb 2016 Posts: 343
|
Posted: Wed Mar 08, 2023 12:43 pm Post subject: Firewalld without gui |
|
|
Hello,
here is what I tried, configured kernel regarding nftables.
Added nftables in make.conf
Added nftables in startup as well as firewalld.
Tried to start firewalld with "firewalld" as root, but no success.
http://dpaste.com/ECDFEC7SW
My config file.
It's firewalld without gui so I have -gui in make.conf.
Thank you.
Code: | /etc/init.d/nftables start
* WARNING: nftables has already been started
|
Nftables is working, but no firewalld.
Code: | firewall-cmd --state
not running
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Wed Mar 08, 2023 12:47 pm Post subject: |
|
|
Have you tried starting it as a service rc-service firewalld start (OpenRC) or systemctl start firewalld (SystemD)?
If yes you can provide log file? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 343
|
Posted: Wed Mar 08, 2023 1:05 pm Post subject: |
|
|
Yes. Where I can find log file ? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Wed Mar 08, 2023 1:31 pm Post subject: |
|
|
I'm not sure but usually are located in /var/log.
With systemd you can use journalctl but I don't know how to use it. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 343
|
Posted: Wed Mar 08, 2023 1:44 pm Post subject: |
|
|
Code: | wgetpaste --service dpaste /var/log/firewalld
Pasting > 250 kB often tend to fail with dpaste. Use --verbose or --debug to see the
error output from wget if it fails. Alternatively use another pastebin service. |
Code: | wgetpaste --service codepad /var/log/firewalld
Pasting > 64 KB often tend to fail with codepad. Use --verbose or --debug to see the
error output from wget if it fails. Alternatively use another pastebin service.
^C
|
Code: | wgetpaste --service bpaste /var/log/firewalld
Apparently nothing was received. Perhaps the connection failed. Enable --verbose or
--debug to get the output from wget that can help diagnose it correctly.
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Wed Mar 08, 2023 2:51 pm Post subject: |
|
|
Try to use https://transfer.sh/. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 343
|
|
Back to top |
|
|
g0rg0n Tux's lil' helper
Joined: 18 Feb 2006 Posts: 83
|
Posted: Sat Mar 25, 2023 12:01 am Post subject: |
|
|
could you share Code: | emerge --info firewalld | ? _________________ nicewarm.coffee |
|
Back to top |
|
|
|