From 499f3ac44bbf40db924459030c33c35a0d0c2beb Mon Sep 17 00:00:00 2001 From: Gabor Seljan Date: Sun, 24 May 2020 18:58:37 +0200 Subject: sslh: add transparent proxy support Signed-off-by: Gabor Seljan --- net/sslh/files/sslh.init | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net/sslh/files/sslh.init') 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. -- cgit v1.2.3