In Ubuntu 16.04, can we install firewalld services?
Asked
Active
Viewed 1.5k times
1 Answers
20
To switch do the following:
Stop iptables if in use:
sudo systemctl stop iptablesMake sure iptables are not used by your system anymore:
sudo systemctl mask iptablesCheck its status:
sudo systemctl status iptablesRemove UFW if installed:
sudo apt-get remove ufw
Firewalld - Dynamic Firewall Manager
This replaces iptable as the preferred way to manage your firewall. Commands to use with firewalld includes:
Install
firewalld:sudo apt install firewalldCheck its status:
sudo systemctl status firewalldEnable or disable firewalld:
sudo systemctl [enable | disable ] firewalldStarting and stoping it:
sudo systemctl [ start | stop ] firewalld
So to use it is simply to enable it as in steps 2, then use the man pages to get more information.
See here for more information on how to use firewalld
George Udosen
- 37,534