Browse Source

sslh: add transparent proxy support

Signed-off-by: Gabor Seljan <sgabe@users.noreply.github.com>
lilik-openwrt-22.03
Gabor Seljan 4 years ago
parent
commit
499f3ac44b
2 changed files with 6 additions and 0 deletions
  1. +3
    -0
      net/sslh/files/sslh.config
  2. +3
    -0
      net/sslh/files/sslh.init

+ 3
- 0
net/sslh/files/sslh.config View File

@ -28,5 +28,8 @@ config 'sslh' 'default'
# verbose defaults to off
# -v
option 'verbose' '0'
# transparent defaults to false
# --transparent
option 'transparent' '0'
# use external config file
# option configfile '/etc/sslh.conf'

+ 3
- 0
net/sslh/files/sslh.init View File

@ -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.


Loading…
Cancel
Save