|
|
@ -22,9 +22,9 @@ start_instance() { |
|
|
|
# B) ssh parameter |
|
|
|
config_get val "${section}" ssh |
|
|
|
[ -n "${val}" ] && append args "--ssh ${val}" |
|
|
|
# C) ssl parameter |
|
|
|
config_get val "${section}" ssl |
|
|
|
[ -n "${val}" ] && append args "--ssl ${val}" |
|
|
|
# C) tls parameter |
|
|
|
config_get val "${section}" tls |
|
|
|
[ -n "${val}" ] && append args "--tls ${val}" |
|
|
|
# D) openvpn parameter |
|
|
|
config_get val "${section}" openvpn |
|
|
|
[ -n "${val}" ] && append args "--openvpn ${val}" |
|
|
@ -47,6 +47,9 @@ start_instance() { |
|
|
|
# J) http parameter |
|
|
|
config_get val "${section}" http |
|
|
|
[ -n "${val}" ] && append args "--http ${val}" |
|
|
|
# K) transparent parameter |
|
|
|
config_get_bool val "${section}" transparent 0 |
|
|
|
[ "${val}" -ne 0 ] && append args "--transparent" |
|
|
|
|
|
|
|
# Defaults were removed for --user and --pidfile options |
|
|
|
# in sslh 1.11; Define them here instead. |
|
|
|