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
utils.BoolFlagEnv(fs, &flags.udp, "udp", false, "Enable public UDP relay in addition to the default TCP relay", "UDP_ENABLED")
98
98
utils.StringFlagEnv(fs, &flags.udpAddr, "udp-addr", "", "Local UDP target address for relayed datagrams (host:port or port only); defaults to the target when --udp is enabled", "UDP_ADDR")
99
99
utils.BoolFlagEnv(fs, &flags.tcp, "tcp", false, "Request a dedicated TCP port on the relay for raw TCP services (no TLS; e.g., Minecraft, game servers)", "TCP_ENABLED")
100
-
utils.IntFlagEnv(fs, &flags.maxActiveRelays, "max-active-relays", 3, nil, "Maximum number of auto-selected relays to keep connected; explicit --relays are always included", "MAX_ACTIVE_RELAYS")
101
-
utils.IntFlagEnv(fs, &flags.multiHopDepth, "multi-hop-depth", 0, nil, "Automatically select one multi-hop route with this hop count; 0 or 1 disables multi-hop", "MULTI_HOP_DEPTH")
100
+
utils.IntFlagEnv(fs, &flags.maxActiveRelays, "max-active-relays", 3, nil, "Maximum auto-selected single-hop relays to keep connected; multi-hop uses every eligible relay as an entry", "MAX_ACTIVE_RELAYS")
101
+
utils.IntFlagEnv(fs, &flags.multiHopDepth, "multi-hop-depth", 0, nil, "Automatically create multi-hop routes at this hop count for every eligible entry relay; 0 or 1 disables multi-hop", "MULTI_HOP_DEPTH")
|`--discovery`| bool |`true`| Include registry relays and relay discovery expansion |
90
-
|`--max-active-relays`| int |`3`| Maximum auto-selected relays to keep connected; explicit relays are always included |
90
+
|`--max-active-relays`| int |`3`| Maximum auto-selected single-hop relays to keep connected; multi-hop uses every eligible relay as an entry; explicit relays are always included |
91
91
|`--multi-hop`| string || Ordered multi-hop relay API URLs, comma-separated |
92
-
|`--multi-hop-depth`| int |`0`| Automatically select one multi-hop route with this hop count; `0` or `1` disables multi-hop |
92
+
|`--multi-hop-depth`| int |`0`| Automatically create this-depth multi-hop routes for every eligible entry relay; `0` or `1` disables multi-hop |
93
93
|`--ban-mitm`| bool |`false`| Ban relay when the MITM self-probe detects TLS termination |
94
94
|`--identity-path`| string |`identity.json`| Identity JSON file path; created automatically when missing |
95
95
|`--identity-json`| string || Identity JSON payload; overrides `--identity-path` contents and is persisted there when both are set |
@@ -167,7 +167,7 @@ Use an explicit multi-hop route:
Copy file name to clipboardExpand all lines: docs/src/routes/configuration/+page.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,8 +141,8 @@ The `portal expose` subcommand accepts the following flags. Flags that read from
141
141
|`--relays`|| string |_(registry)_| Additional Portal relay server API URLs (comma-separated; scheme omitted defaults to https) |
142
142
|`--discovery`|| bool |`true`| Include public registry relays and discover additional relay bootstraps |
143
143
|`--multi-hop`|`MULTI_HOP`| string || Ordered multi-hop relay API URLs, comma-separated |
144
-
|`--multi-hop-depth`|`MULTI_HOP_DEPTH`| int |`0`| Automatically select one multi-hop route with this hop count; 0 or 1 disables multi-hop |
145
-
|`--max-active-relays`|`MAX_ACTIVE_RELAYS`| int |`3`| Maximum auto-selected relays to keep connected; explicit relays are always included |
144
+
|`--multi-hop-depth`|`MULTI_HOP_DEPTH`| int |`0`| Automatically create this-depth multi-hop routes for every eligible entry relay; 0 or 1 disables multi-hop |
145
+
|`--max-active-relays`|`MAX_ACTIVE_RELAYS`| int |`3`| Maximum auto-selected single-hop relays to keep connected; multi-hop uses every eligible relay as an entry; explicit relays are always included |
146
146
|`--ban-mitm`|`BAN_MITM`| bool |`false`| Ban relay when the MITM self-probe detects TLS termination |
0 commit comments