I have installed firewalld
and uninstalled ufw
with the following commands:
sudo apt install firewall-applet
sudo systemctl start firewalld
sudo systemctl enable firewalld
It works but does not start on its own on restart.
$ sudo systemctl status firewalld.service
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/lib/systemd/system/firewalld.service; enabled; vendor preset
Active: inactive (dead)
May 10 18:39:03 Yyyy systemd[1]: Stopped firewalld - dynamic firewall daemon. lines 1-5/5 (END)
My laptop is running Ubuntu 16.04 LTS.
The output of sudo systemctl status iptables.service
:
● iptables.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
Iptables is installed. The output of dpkg -s iptables
Package: iptables
Status: install ok installed
Priority: important
Section: net
Installed-Size: 1624
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Version: 1.6.0-2ubuntu3
Depends: libxtables11 (= 1.6.0-2ubuntu3), libc6 (>= 2.14), libnfnetlink0
Description: administration tools for packet filtering and NAT
iptables is the userspace command line program used to configure
the Linux packet filtering ruleset. It is targeted towards system
administrators. Since Network Address Translation is also configured
from the packet filter ruleset, iptables is used for this, too. The
iptables package also includes ip6tables. ip6tables is used for
configuring the IPv6 packet filter
Homepage: http://www.netfilter.org/
Original-Maintainer: iptables devel team <pkg-netfilterdevel@lists.alioth.debian.org>
I tried sudo firewalld-cmd --runtime-to-parmanent
but it does not help firewalld
start at boot.
Thanks
sudo systemctl status iptables
– George Udosen May 10 '17 at 23:48sudo systemctl mask iptables
while setting up firewalld? – George Udosen May 11 '17 at 06:44systemctl status firewalld
and lets see what it says – George Udosen May 14 '17 at 13:36Active: Inactive (dead)
. – user68186 May 14 '17 at 18:21