You are not logged in.

#1 2021-07-05 16:28:09

mrgeraltgray
Member
Registered: 2021-07-05
Posts: 5

[SOLVED]Unable to enabale UFW firewall service

I have been trying to run my local server due to testing purposes. I ran apache2, it did work but could not connect to the server via browser, than I tried python simple http server. The problem is probably the firewall, it blocks incoming connections I guess. In order to prevent that I downloaded UFW.

systemctl start ufw

After starting the service, I tried to enable it via this command --> ufw enable
But I am having this issue, could not find any solutioun anywhere.

ERROR: problem running ufw-init
modprobe: FATAL: Module nf_conntrack_ftp not found in directory /lib/modules/5.9.14-arch1-1
modprobe: FATAL: Module nf_nat_ftp not found in directory /lib/modules/5.9.14-arch1-1
modprobe: FATAL: Module nf_conntrack_netbios_ns not found in directory /lib/modules/5.9.14-arch1-1
iptables-restore v1.8.7 (nf_tables): Could not fetch rule set generation id: Invalid argument

iptables-restore v1.8.7 (nf_tables): Could not fetch rule set generation id: Invalid argument

iptables-restore v1.8.7 (nf_tables): Couldn't load match `conntrack':No such file or directory

Error occurred at line: 2
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.7 (nf_tables): Could not fetch rule set generation id: Invalid argument

iptables-restore v1.8.7 (nf_tables): Could not fetch rule set generation id: Invalid argument

iptables-restore v1.8.7 (nf_tables): Couldn't load match `conntrack':No such file or directory

Error occurred at line: 25
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.7 (nf_tables): unknown option "--dport"
Error occurred at line: 19
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.7 (nf_tables): Could not fetch rule set generation id: Invalid argument

iptables-restore v1.8.7 (nf_tables): unknown option "--dport"
Error occurred at line: 21
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.7 (nf_tables): Could not fetch rule set generation id: Invalid argument


Problem loading ipv6 (skipping)
Problem running '/etc/ufw/before.rules'
Problem running '/etc/ufw/after.rules'
Problem running '/etc/ufw/user.rules'

Last edited by mrgeraltgray (2021-07-06 19:14:54)

Offline

#2 2021-07-05 16:31:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED]Unable to enabale UFW firewall service

You've updated the kernel without rebooting.

Offline

#3 2021-07-05 16:35:04

mrgeraltgray
Member
Registered: 2021-07-05
Posts: 5

Re: [SOLVED]Unable to enabale UFW firewall service

Thanks, I completely forgot about that

Last edited by mrgeraltgray (2021-07-05 16:37:49)

Offline

#4 2021-07-05 18:00:57

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]Unable to enabale UFW firewall service

Please edit your original post and a) add code tags: https://wiki.archlinux.org/index.php/Co … s_and_code and b} mark it as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB