Complete wsssht.conf.example with all configuration options

- Add tunnel-port option to wsssht.conf.example
- Update man page configuration example to include all options
- Reorder options logically in both files
- Include comprehensive comments explaining each option
parent 64ee57da
...@@ -6,18 +6,21 @@ ...@@ -6,18 +6,21 @@
# #
# Configuration options: # Configuration options:
# wssshd-host: Default wssshd server hostname # wssshd-host: Default wssshd server hostname
# wssshd-port: Default wssshd server port
# clientid: Default client ID for the tunnel # clientid: Default client ID for the tunnel
# tunnel: Default transport types for data channel (comma-separated or 'any') # tunnel-port: Default local tunnel port (0 = auto-assign)
# tunnel-control: Default transport types for control channel (comma-separated or 'any')
# service: Default service type (default: ssh)
# tunnel-host: Local IP address to bind tunnel to (default: 127.0.0.1) # tunnel-host: Local IP address to bind tunnel to (default: 127.0.0.1)
# tunnel: Default transport for data channel (comma-separated or 'any', or 'websocket')
# tunnel-control: Default transport for control channel (comma-separated or 'any', or 'websocket')
# service: Default service type (default: ssh)
# interval: Connection retry interval in seconds (default: 5) # interval: Connection retry interval in seconds (default: 5)
wssshd-host=mbetter.nexlab.net wssshd-host=mbetter.nexlab.net
wssshd-port=9898 wssshd-port=9898
clientid=myclient clientid=myclient
tunnel-port=0
tunnel-host=127.0.0.1
tunnel=websocket tunnel=websocket
tunnel-control=websocket tunnel-control=websocket
service=ssh service=ssh
tunnel-host=127.0.0.1
interval=5 interval=5
\ No newline at end of file
...@@ -128,10 +128,11 @@ Configuration options: ...@@ -128,10 +128,11 @@ Configuration options:
wssshd-host=mbetter.nexlab.net wssshd-host=mbetter.nexlab.net
wssshd-port=9898 wssshd-port=9898
clientid=myclient clientid=myclient
tunnel-port=0
tunnel-host=127.0.0.1
tunnel=websocket tunnel=websocket
tunnel-control=websocket tunnel-control=websocket
service=ssh service=ssh
tunnel-host=127.0.0.1
interval=5 interval=5
.fi .fi
.RE .RE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment