diff --git a/README.md b/README.md index 3d10aa3..009c9aa 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Sample configuration that exposes: looks like this ```yaml - server_addr: SERVER_IP:4443 + server_addr: SERVER_IP:5223 insecure_skip_verify: true tunnels: webui: @@ -100,7 +100,7 @@ looks like this Configuration options: -* `server_addr`: server TCP address, i.e. `54.12.12.45:4443` +* `server_addr`: server TCP address, i.e. `54.12.12.45:5223` * `insecure_skip_verify`: controls whether a client verifies the server's certificate chain and host name, if using self signed certificates must be set to `true`, *default:* `false` * `tls_crt`: path to client TLS certificate, *default:* `client.crt` *in the config file directory* * `tls_key`: path to client TLS certificate key, *default:* `client.key` *in the config file directory* diff --git a/cmd/tunnel/options.go b/cmd/tunnel/options.go index ce606c5..f161b1e 100644 --- a/cmd/tunnel/options.go +++ b/cmd/tunnel/options.go @@ -27,7 +27,7 @@ Examples: tunnel start-all config.yaml: - server_addr: SERVER_IP:4443 + server_addr: SERVER_IP:5223 insecure_skip_verify: true tunnels: webui: diff --git a/cmd/tunneld/options.go b/cmd/tunneld/options.go index 949df52..fce0e90 100644 --- a/cmd/tunneld/options.go +++ b/cmd/tunneld/options.go @@ -50,7 +50,7 @@ type options struct { func parseArgs() *options { httpAddr := flag.String("httpAddr", ":80", "Public address for HTTP connections, empty string to disable") httpsAddr := flag.String("httpsAddr", ":443", "Public address listening for HTTPS connections, emptry string to disable") - tunnelAddr := flag.String("tunnelAddr", ":4443", "Public address listening for tunnel client") + tunnelAddr := flag.String("tunnelAddr", ":5223", "Public address listening for tunnel client") tlsCrt := flag.String("tlsCrt", "server.crt", "Path to a TLS certificate file") tlsKey := flag.String("tlsKey", "server.key", "Path to a TLS key file") clients := flag.String("clients", "", "Comma-separated list of tunnel client ids")