You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,12 +174,7 @@ Configuration options:
174
174
* `max_interval`: maximal time client would wait before redialing the server, *default:* `1m`
175
175
* `max_time`: maximal time client would try to reconnect to the server if connection was lost, set `0` to never stop trying, *default:* `15m`
176
176
* `keep_alive`**
177
-
* `idle_time`: how long to wait on an idle tcp connection before sending a keepalive packet, *default:* `15 min`
178
-
* `count`: how many keepalive packets to send before declaring that the tcp connection is down, *default:* `8`
179
-
* `interval`: the amount of time to wait between sending consequent keepalive packets, *default:* `5 sec`
180
-
181
-
\** Keep alive configuration not available for window since on windows it can only be either on or off.
182
-
It is defaulted to on and cannot be turned off via configuration.
177
+
* `interval`: the amount of time to wait between sending keepalive packets, *default:* `25s`
183
178
184
179
## Configuration - Server
185
180
@@ -192,6 +187,7 @@ Configuration options:
192
187
* `tlsKey`: Path to a TLS key file, *default:* `server.key`
193
188
* `rootCA`: Path to the trusted certificate chian used for client certificate authentication, if empty any client certificate is accepted
194
189
* `clients`: Comma-separated list of tunnel client ids, if empty accept all clients
190
+
* `keepAlive`: the amount of time to wait between sending keepalive packets *default:* `45s`
195
191
* `logLevel`: Level of messages to log, 0-3, *default:* 1
196
192
197
193
If both `httpAddr` and `httpsAddr` are configured, an automatic redirect to the secure channel will be established using an `http.StatusMovedPermanently` (301)
Copy file name to clipboardExpand all lines: cmd/tunneld/options.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -63,8 +63,8 @@ func parseArgs() *options {
63
63
tlsKey:=flag.String("tlsKey", "server.key", "Path to a TLS key file")
64
64
rootCA:=flag.String("rootCA", "", "Path to the trusted certificate chian used for client certificate authentication, if empty any client certificate is accepted")
65
65
clients:=flag.String("clients", "", "Comma-separated list of tunnel client ids, if empty accept all clients")
0 commit comments