Move TURN port to a different range

It landed on a port used by PostgreSQL. Also switch STUN/TURN to TCP
because HAProxy does not support UDP.

Closes #240
This commit is contained in:
Greg Karékinian
2020-11-25 16:28:13 +01:00
parent 7636f6ed19
commit 085bd8abd5
3 changed files with 5 additions and 5 deletions

View File

@@ -205,13 +205,13 @@ unless node.chef_environment == "development"
firewall_rule 'ejabberd_stun_turn' do
port 3478
protocol :udp
protocol :tcp
command :allow
end
firewall_rule 'ejabberd_turn' do
port node["kosmos-ejabberd"]["turn_min_port"]..node["kosmos-ejabberd"]["turn_max_port"]
protocol :udp
protocol :tcp
command :allow
end
end