-
Notifications
You must be signed in to change notification settings - Fork 457
Open
Labels
Description
Describe the feature
Running Multiple wstunnel Connections with a Single Configuration File
Describe the reason for such feature
I have several servers running wstunnel. I currently need to run a separate wstunnel instance for each server. Is it possible to define multiple wstunnel configurations in a single file and run just one wstunnel process to connect to all servers, in order to reduce memory usage?
Thanks.
Describe alternatives you've considered
Here is an example configuration file (config.yaml)
- mode: client
- tag: server-1
- server: wss://wstunnel-1.server.com:1212
- local-to-remote: tcp://1212:google.com:443
- local-to-remote: udp://1212:1.1.1.1:53
- remote-to-local: socks5://[::1]:1212
- connection-min-idle: 5
- connection-retry-max-backoff: 5m
- tls-sni-override: google.fr
- tls-ech-enable: true
- http-upgrade-path-prefix: UUID
- websocket-ping-frequency: 30
- mode: client
- tag: server-2
- server: https://wstunnel-2.server.com:2323
- local-to-remote: tcp://2323:google.com:443
- local-to-remote: socks5://[::1]:1212
- connection-min-idle: 5
- connection-retry-max-backoff: 5m
- tls-sni-override: gmail.com
- tls-ech-enable: true
- http-upgrade-path-prefix: UUID
- websocket-ping-frequency: 30
- mode: server
- tag: myserver
- server: wss://[::]:8080
- tls-certificate: "path/to/domain.crt"
- tls-private-key: "path/to/domain.key"
- restrict-http-upgrade-path-prefix: UUID
- dns-resolver: dns://1.1.1.1