15 lines
361 B
Bash
Executable File
15 lines
361 B
Bash
Executable File
#!/bin/bash --posix
|
|
|
|
set -e
|
|
|
|
firewall-cmd --add-port 7770-7779/tcp --permanent
|
|
firewall-cmd --add-port 27000-27009/tcp --permanent
|
|
firewall-cmd --add-port 15000-15009/tcp --permanent
|
|
firewall-cmd --add-port 26000-26009/tcp --permanent
|
|
|
|
echo "All ports open for Mordhau servers - reloading firewall-cmd..."
|
|
|
|
firewall-cmd --reload
|
|
|
|
echo "Finished opening ports."
|