Skip to content

Instantly share code, notes, and snippets.

@fatih-keles
Created April 11, 2023 12:57
Show Gist options
  • Save fatih-keles/3db5a12b30759fa17c553e9e271a2a0f to your computer and use it in GitHub Desktop.
Save fatih-keles/3db5a12b30759fa17c553e9e271a2a0f to your computer and use it in GitHub Desktop.
sudo systemctl stop firewalld.service
sudo firewall-offline-cmd --zone=public --add-port 8080/tcp
sudo systemctl start firewalld.service
sudo systemctl stop firewalld.service
sudo firewall-offline-cmd --zone=public --add-port 8443/tcp
sudo systemctl start firewalld.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment