Bash_Scripts/CentOS/Minecraft/Minecraft-Open-Ports.bash

17 lines
558 B
Bash
Raw Normal View History

2021-07-31 13:45:43 -05:00
#!/bin/bash --posix
2021-08-04 01:21:11 -05:00
# Copyright 2021, Price Hiller - All Rights Reserved
#
# Copying, distribution, usage, or modification of this file or the following source code, via any
# method is strictly prohibited without the explicit written consent of Price Hiller (philler3138@gmail.com)
# The following file contains proprietary and confidential content
#
2021-07-31 13:45:43 -05:00
### Minecraft Ports ###
# Game ports 12000 - 12099
# Query ports 12100 - 12199
# RCON ports 12200 - 12299
firewall-cmd --zone=public --add-port=12000-12299/tcp --permanent
firewall-cmd --reload