Skip to content

Commit 58fdb40

Browse files
docs(sandboxes): add IPv6 loopback example to Port Forwarding (#2449)
The core IPv6 forwarding fix landed on main via #2552; this carries the docs example forward into the current Port Forwarding section of docs/how-it-works/sandboxes/overview.mdx after the page move in #3705. Remaining scope is documentation only. Signed-off-by: Andrew White <andrewh@cdw.com> Co-authored-by: andrewwhitecdw <andrewwhitecdw@users.noreply.github.com>
1 parent b4baf23 commit 58fdb40

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎docs/how-it-works/sandboxes/overview.mdx‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,14 @@ openshell forward start 8000 my-sandbox -d # run in background
777777
```
778778
779779
OpenShell prints the local URL only after the forward listener is reachable. Background forwards must be tracked locally so `openshell forward list` and `openshell forward stop` can manage them.
780+
781+
To bind the local side to an IPv6 loopback address, pass it positionally as `[bind_address:]port`. IPv6 addresses are bracketed in both the SSH forward argument and the printed access URL:
782+
783+
```shell
784+
openshell forward start ::1:8000 my-sandbox
785+
# Local URL: http://[::1]:8000/
786+
```
787+
780788
CLI forwards run independently of SSH multiplexing settings in your SSH config.
781789
Foreground forwards end when the command exits; only background forwards appear in `forward list`.
782790

0 commit comments

Comments
 (0)