Browse Source

Mention doctor in README

tags/v2.2.4^2
9seconds 1 month ago
parent
commit
614acd7303
1 changed files with 32 additions and 0 deletions
  1. 32
    0
      README.md

+ 32
- 0
README.md View File

@@ -301,6 +301,38 @@ For example, you've bought a VPS from [Digital
301 301
 Ocean](https://www.digitalocean.com/). Then it might be a good idea to
302 302
 generate a secret for _digitalocean.com_ then.
303 303
 
304
+### Check configuration
305
+
306
+There is a special command for secret verification:
307
+
308
+```
309
+$ mtg doctor /path/to/my/config.toml
310
+Deprecated options
311
+  ✅ All good
312
+Time skewness
313
+  ✅ Time drift is -607.048µs, but tolerate-time-skewness is 5s
314
+Validate native network connectivity
315
+  ✅ DC 1
316
+  ✅ DC 2
317
+  ✅ DC 3
318
+  ✅ DC 4
319
+  ✅ DC 5
320
+  ✅ DC 203
321
+Validate network connectivity with proxy socks5://127.0.0.1:1080
322
+  ✅ DC 1
323
+  ✅ DC 2
324
+  ✅ DC 3
325
+  ✅ DC 4
326
+  ✅ DC 5
327
+  ✅ DC 203
328
+Validate fronting domain connectivity
329
+  ✅ xx.xx.xx.xx:yyy is reachable
330
+Validate SNI-DNS match
331
+  ✅ IP address xx.xx.xx.xx matches secret hostname <REDACTED>
332
+```
333
+
334
+It aims to find out possible inconsistencies and problems with your
335
+configuration. It makes sense to run it before executing any relevant commands.
304 336
 
305 337
 ### Simple run mode
306 338
 

Loading…
Cancel
Save