Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Created May 18, 2021 16:39
Show Gist options
  • Save recursivecodes/5b0ee31692f504a95b1f6dac69947557 to your computer and use it in GitHub Desktop.
Save recursivecodes/5b0ee31692f504a95b1f6dac69947557 to your computer and use it in GitHub Desktop.
firewall.sh
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