Podcast
Questions and Answers
You can allow the SSH service on the server for any client IP address.
You can allow the SSH service on the server for any client IP address.
False
To add the SSH service to the public zone permanently, you should use the command firewall-cmd --zone=public --add-service=ssh --permanent.
To add the SSH service to the public zone permanently, you should use the command firewall-cmd --zone=public --add-service=ssh --permanent.
True
To allow traffic from IP 192.168.1.2/24, you should use the command firewall-cmd --zone=public --add-source=192.168.1.2/24 permanent.
To allow traffic from IP 192.168.1.2/24, you should use the command firewall-cmd --zone=public --add-source=192.168.1.2/24 permanent.
False
Reloading the firewall can be done using the command reload.
Reloading the firewall can be done using the command reload.
Signup and view all the answers
Adding port 443/tcp to the public zone permanently is done with the command firewall-cmd -zone=public --add-port=443/tcp --permanent.
Adding port 443/tcp to the public zone permanently is done with the command firewall-cmd -zone=public --add-port=443/tcp --permanent.
Signup and view all the answers
Removing port 443/tcp from the public zone permanently is done with the command firewall-cmd zone=public --remove-port=443/tcp --permanent.
Removing port 443/tcp from the public zone permanently is done with the command firewall-cmd zone=public --remove-port=443/tcp --permanent.
Signup and view all the answers
Adding port 443/tcp to the public zone is a temporary action.
Adding port 443/tcp to the public zone is a temporary action.
Signup and view all the answers
You should use the command firewall-cmd --reload to reload the firewall in a permanent manner.
You should use the command firewall-cmd --reload to reload the firewall in a permanent manner.
Signup and view all the answers
To allow traffic from a specific IP address, you should use the 'add-source' parameter in firewalld.
To allow traffic from a specific IP address, you should use the 'add-source' parameter in firewalld.
Signup and view all the answers
It is recommended to always reload the firewall after making changes to ensure they take effect immediately.
It is recommended to always reload the firewall after making changes to ensure they take effect immediately.
Signup and view all the answers