Skip to content

Instantly share code, notes, and snippets.

@Sharifur
Last active June 11, 2024 16:42
Show Gist options
  • Save Sharifur/8397d4c08a7818d0d0be1b0855b8d2ce to your computer and use it in GitHub Desktop.
Save Sharifur/8397d4c08a7818d0d0be1b0855b8d2ce to your computer and use it in GitHub Desktop.
firewall command
#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