Created
May 18, 2021 16:39
-
-
Save recursivecodes/5b0ee31692f504a95b1f6dac69947557 to your computer and use it in GitHub Desktop.
firewall.sh
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
sudo firewall-cmd --permanent --zone=public --add-port=25565/tcp | |
sudo firewall-cmd --permanent --zone=public --add-port=25565/udp | |
sudo firewall-cmd --reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment