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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user