Hướng dẫn tắt/mở dịch vụ firewalld trên CentOS 7

How to Start/Stop or Enable/Disable firewalld on CentOS 7

How to Start/Stop or Enable/Disable firewalld on CentOS 7Cuongquach.com | firewalld (Dynamic Firewall Manager) tool provides a dynamically managed firewall. The tool enables network/firewall zones to define the trust level of network connections and/or interfaces. It has support both for IPv4 and IPv6 firewall settings. Also, it supports Ethernet bridges and allow you to separate between runtime and permanent configuration options. Finally, it supports an interface for services or applications to add firewall rules directly.

Disable firewalld

To disable firewalld, execute the following command as root or using sudo:

# systemctl disable firewalld

Enable firewalld

To enable firewalld, execute the following command as root or using sudo:

# systemctl enable firewalld

Stop firewalld

To stop (or deactivate) firewalld,execute the following command as root or using sudo:

# systemctl stop firewalld

Start firewalld

To start (or activate) firewalld, execute the following command as root or using sudo:

# systemctl start firewalld

Status of firewalld

To check the status of firewalld, execute the following command as root or using sudo:

# systemctl status firewalld

Very easy to stop firewalld and begin using ‘iptables‘ instead of if you want.

Via Cuongquach.com

 

1
2
Previous articleHướng dẫn ghi log các lệnh được thực thi trên Linux
Next articleSự khác nhau giữa Login shell và Non-login shell trong Linux
Bạn đang theo dõi website "https://cuongquach.com/" nơi lưu trữ những kiến thức tổng hợp và chia sẻ cá nhân về Quản Trị Hệ Thống Dịch Vụ & Mạng, được xây dựng lại dưới nền tảng kinh nghiệm của bản thân mình, Quách Chí Cường. Hy vọng bạn sẽ thích nơi này !