-------------------------
Open port 8443/tcp in firewalld :
// first query
[sarumuga@gant ]$ sudo firewall-cmd --permanent --query-port=8443/tcp
no
// add port
[sarumuga@gant ]$ sudo firewall-cmd --permanent --add-port=8443/tcp
success
// verify
[sarumuga@gant ]$ sudo firewall-cmd --permanent --query-port=8443/tcp
yes
-------------------------
Open port 53/udp in firewalld :
// first query
[sarumuga@gant ]$ sudo firewall-cmd --permanent --query-port=53/udp
no
// add port
[sarumuga@gant ]$ sudo firewall-cmd --permanent --add-port=53/udp
success
//verify
[sarumuga@gant ]$ sudo firewall-cmd --permanent --query-port=53/udp
yes
-------------------------
Open port 8443/tcp in firewalld :
// first query
[sarumuga@gant ]$ sudo firewall-cmd --permanent --query-port=8443/tcp
no
// add port
[sarumuga@gant ]$ sudo firewall-cmd --permanent --add-port=8443/tcp
success
// verify
[sarumuga@gant ]$ sudo firewall-cmd --permanent --query-port=8443/tcp
yes
-------------------------
Open port 53/udp in firewalld :
// first query
[sarumuga@gant ]$ sudo firewall-cmd --permanent --query-port=53/udp
no
// add port
[sarumuga@gant ]$ sudo firewall-cmd --permanent --add-port=53/udp
success
//verify
[sarumuga@gant ]$ sudo firewall-cmd --permanent --query-port=53/udp
yes
-------------------------
No comments:
Post a Comment