AnsweredLockedCentOS 7.6 firewall open a specific port

Author
patrick
Premium Member
2019/05/30 05:19:28 (permalink)

CentOS 7.6 firewall open a specific port

ports are not adding permanently, each time after reboot its value reset. Seems bug to me in Centos 7.6 firewall ?
#1
Xavier
Senior Member
☼ Best Answerby patrick 2019/05/30 05:46:13
Re: CentOS 7.6 firewall open a specific port 2019/05/30 05:42:12 (permalink)
 
To add port follow this command :
firewall-cmd --zone=public --add-port=3306/tcp --permanent
 
To reload the rules use the following command :
firewall-cmd --reload
 
Mark it as answer if this helps you :)
#2
Jump to:
© 2024 APG vNext Invalid Version 5.5