ufw fails to set in the new version
Hello, I had some problems when set up the firewall(
Can anyont help me on this?
when I use code: sudo ufw enable,
there were some errors: problem running ufw-init.
when I use code: sudo gufw,
it's said Can't operate, and there are no files in the folder: /etc/gufw
I need gufw.cfg,
but the newest version cubic fail to do that, 2021.03.45 and 2021.03.46 are also fail.
then I try the oldest version cubic(2020.
then I tried to copy gufw.cfg,
When the customized ISO was installed, firewall's window couldn't appear when I click the firewall configuration.
Could you solve the problems in the newset cubic? please help me.I tried many times to solve it but failed.
Thank you in advance.
Steps I processed:
root@cubic:~# sudo systemctl enable ufw
Synchronizing state of ufw.service with SysV service script with /lib/systemd/
Executing: /lib/systemd/
root@cubic:~# sudo ufw enable
ERROR: problem running ufw-init
iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter'
Error occurred at line: 1
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter'
Error occurred at line: 1
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter'
Error occurred at line: 1
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter'
Error occurred at line: 1
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter'
Error occurred at line: 1
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter'
Error occurred at line: 12
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter'
Error occurred at line: 12
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter'
Error occurred at line: 1
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter'
Error occurred at line: 1
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter'
Error occurred at line: 1
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
sysctl: setting key "net.ipv4.
sysctl: setting key "net.ipv4.
sysctl: setting key "net.ipv6.
sysctl: setting key "net.ipv6.
sysctl: setting key "net.ipv4.
sysctl: setting key "net.ipv4.
sysctl: setting key "net.ipv4.
sysctl: setting key "net.ipv4.
sysctl: setting key "net.ipv4.
Problem loading ipv6 (skipping)
Problem running '/etc/ufw/
Problem running '/etc/ufw/
Problem running '/etc/ufw/
root@cubic:~# sudo ufw status
ERROR: problem running iptables: iptables v1.8.4 (legacy): can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
root@cubic:~# sudo gufw
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to create bus connection: Host is down
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to create bus connection: Host is down
/usr/bin/gufw: line 2: [: =: unary operator expected
Error getting authority: Error initializing authority: Could not connect: No such file or directory
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Cubic Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: