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 (B)
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 (A)
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 (B)
Reloading the firewall can be done using the command reload.
Reloading the firewall can be done using the command reload.
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.
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.
Adding port 443/tcp to the public zone is a temporary action.
Adding port 443/tcp to the public zone is a temporary action.
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.
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.
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.