Wednesday, June 1, 2016

Install and enable iptables firewall - Centos 7

1. Run the following command to install
  • yum install iptables-services

2. Run the following command to install to enable the firewall
  • systemctl enable iptables

3. Start the firewall
  • systemctl start iptables

4. Check the status
  • systemctl status iptables




If you need to stop the firewall
  • systemctl stop iptables

No comments:

Post a Comment