package 'sslh'
|
|
|
|
config 'sslh' 'default'
|
|
# disable or enable
|
|
option 'enable' '1'
|
|
# listen defaults to '0.0.0.0:443' (all interfaces)
|
|
# multiple -p arguments may be supplied using a uci list
|
|
# -p <listenaddr>:<listenport>
|
|
option 'listen' ''
|
|
# ssh defaults to 'localhost:22'
|
|
# --ssh <sshhost>:<sshport>
|
|
option 'ssh' ''
|
|
# http defaults to 'localhost:80'
|
|
# --http <httphost>:<httpport>
|
|
option 'http' ''
|
|
# tls defaults to 'localhost:443'
|
|
# --tls <tlshost>:<tlsport>
|
|
option 'tls' ''
|
|
# openvpn defaults to 'localhost:1194'
|
|
# --openvpn <openvpnhost>:<openvpnport>
|
|
option 'openvpn' ''
|
|
# tinc defaults to 'localhost:655'
|
|
# --tinc <tinchost>:<tincport>
|
|
option 'tinc' ''
|
|
# xmpp defaults to 'localhost:5222'
|
|
# --xmpp <xmpphost>:<xmppport>
|
|
option 'xmpp' ''
|
|
# timeout (for ssh, then ssl is assumed) defaults to 2
|
|
# -t
|
|
option 'timeout' ''
|
|
# 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'
|