aboutsummaryrefslogtreecommitdiff
path: root/net/sslh/files/sslh.init
diff options
context:
space:
mode:
authorGabor Seljan <sgabe@users.noreply.github.com>2020-05-24 18:58:37 +0200
committerGabor Seljan <sgabe@users.noreply.github.com>2020-05-24 18:58:37 +0200
commit499f3ac44bbf40db924459030c33c35a0d0c2beb (patch)
tree58c1af354ba03ac44d012c79bbedf9c5d4d42e13 /net/sslh/files/sslh.init
parentf5fdcf3e7eb2671d16d5eabc63882252855ca571 (diff)
sslh: add transparent proxy support
Signed-off-by: Gabor Seljan <sgabe@users.noreply.github.com>
Diffstat (limited to 'net/sslh/files/sslh.init')
-rw-r--r--net/sslh/files/sslh.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sslh/files/sslh.init b/net/sslh/files/sslh.init
index 6e71a5394..401beb689 100644
--- a/net/sslh/files/sslh.init
+++ b/net/sslh/files/sslh.init
@@ -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.