Ubuntu: Stat / Stop / Restart Iptables Firewall Service
In Ubuntu, you can manage the iptables firewall service using the following commands:
- To check the status of the iptables firewall service:
sudo service iptables status- To stop the iptables firewall service:
sudo service iptables stop- To start the iptables firewall service:
sudo service iptables start- To restart the iptables firewall service:
sudo service iptables restartNote: In Ubuntu 16.04 and later, the iptables service is replaced by the ufw firewall, so you need to use the ufw commands to manage the firewall.
n(https://radiomusical.com/)