Skip to content
Snippets Groups Projects
Commit 6090eca8 authored by Bob Mottram's avatar Bob Mottram
Browse files

Only firewall for non-onion installs

parent 13e2fb6c
No related branches found
No related tags found
No related merge requests found
......@@ -226,8 +226,10 @@ function install_turn {
systemctl daemon-reload
systemctl start turn
firewall_add turn ${TURN_PORT}
firewall_add turn-http ${TURN_HTTP_PORT}
if [[ "$ONION_ONLY" == 'no' ]]; then
firewall_add turn ${TURN_PORT}
firewall_add turn-http ${TURN_HTTP_PORT}
fi
#TURN_ONION_HOSTNAME=$(add_onion_service turn ${TURN_PORT} ${TURN_ONION_PORT})
add_onion_service turn ${TURN_PORT} ${TURN_ONION_PORT}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment