Remove firewall conditions
This commit is contained in:
parent
b95dc08873
commit
b99641af02
|
@ -181,28 +181,20 @@ function remove_sip {
|
|||
}
|
||||
|
||||
function configure_firewall_for_turn {
|
||||
if [[ $(is_completed $FUNCNAME) == "1" ]]; then
|
||||
return
|
||||
fi
|
||||
if [[ $ONION_ONLY != "no" ]]; then
|
||||
return
|
||||
fi
|
||||
firewall_add TURN ${TURN_PORT}
|
||||
firewall_add "TURN TLS" ${TURN_TLS_PORT} tcp
|
||||
mark_completed $FUNCNAME
|
||||
}
|
||||
|
||||
|
||||
function configure_firewall_for_sip4 {
|
||||
if [[ $(is_completed $FUNCNAME) == "1" ]]; then
|
||||
return
|
||||
fi
|
||||
if [[ $ONION_ONLY != "no" ]]; then
|
||||
return
|
||||
fi
|
||||
firewall_add SIP ${SIP_PORT}
|
||||
firewall_add "SIP TLS" ${SIP_TLS_PORT}
|
||||
mark_completed $FUNCNAME
|
||||
}
|
||||
|
||||
function get_sip_server_password {
|
||||
|
|
Loading…
Reference in New Issue