Firewall configuration

The following rules are required to get the server instance running on Linux server :

# Games - Project Zomboid
-A INPUT -p tcp -m tcp --dport 8766:8767 -m comment --comment "Pzserver-Steam-8766:8767-TCP" -j ACCEPT
-A INPUT -p udp -m udp --dport 8766:8767 -m comment --comment "Pzserver-Steam-8766:8767-UDP" -j ACCEPT
-A INPUT -p tcp -m tcp --dport 16261:16271 -m comment --comment "Pzserver-UserRange-16261:16271-TCP" -j ACCEPT
-A INPUT -p udp -m udp --dport 16261:16271 -m comment --comment "Pzserver-UserRange-16261:16271-UDP" -j ACCEPT
-A INPUT -p tcp -m tcp --dport 27016 -m comment --comment "Pzserver-RCON-27016-TCP" -j ACCEPT

Naming is purely personal choice. You can use any content for the comment argument of each line.

Last updated