Last active
June 11, 2024 16:42
-
-
Save Sharifur/8397d4c08a7818d0d0be1b0855b8d2ce to your computer and use it in GitHub Desktop.
firewall command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#show list of firewall allow ports | |
sudo firewall-cmd --allow-ports | |
# allow new ports in firewall | |
sudo firewall-cmd --permanent --add-port=2082/tcp | |
#then reload firewall | |
sudo firewall-cmd --reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment