ក្រុមការងារយើងខ្ញុំនិងខិតខំសិក្សារស្រាវជ្រាវចំនេះដឹងបន្ថែមទៀតសំរាប់លោកអ្នក សូមអរគុណសំរាប់ការគាំទ្រ !

Linux Firewall Configuration

1/ view Stop or Start Firewall
#systemctl status firewalld
#systemctl stop firewalld
#systemctl start firewalld
#systemctl disable firewalld
#systemctl enable firewalld

2/ Configure FireWall
#firewall-cmd --add-service=http --permanent --zone=public
#firewall-cmd --add-port=80/tcp --permanent --zone=public
#firewall-cmd --list-all
#firewall-cmd --remove-service=http --permanent --zone=public
#firewall-cmd --remove-port=80/tcp --permanent --zone=public


Zone = work
- Public: all network can access to localhost of centos
- Private: Work, Home, Trust...
- Block: IP/Network
Firewall-cmd --reload


EmoticonEmoticon