2021-07-28 09:29:40 -05:00
|
|
|
#!/bin/bash --posix
|
|
|
|
|
2021-08-04 21:17:20 -05:00
|
|
|
|
2021-08-04 01:21:11 -05:00
|
|
|
|
2021-07-28 09:29:40 -05:00
|
|
|
# To add additional ports for Arma you need to have 5 ports open as a range
|
|
|
|
# Arma offsets from the first port and increments upwards until 5 ports are open
|
|
|
|
# E.g. game is set to run on port 100, then ports 100-104 need to be opened
|
|
|
|
# By default Arma 3 runs from port 2302
|
|
|
|
firewall-cmd --zone=public --add-port=2300-2309/udp --permanent
|
2021-07-30 14:27:08 -05:00
|
|
|
firewall-cmd -zone=public --add-port=2344-2345/udp --permanent
|
|
|
|
firewall-cmd -zone=public --add-port=2344-2345/tcp --permanent
|
2021-07-28 09:29:40 -05:00
|
|
|
firewall-cmd --reload
|
|
|
|
|