Tips & Recipes
Accessing gosok Remotely
Section titled “Accessing gosok Remotely”gosok binds to 127.0.0.1 by default, blocking external access. To connect remotely, use a VPN and set GOSOK_HOST=0.0.0.0.
Tailscale
Section titled “Tailscale”GOSOK_HOST=0.0.0.0 ./gosokWith Tailscale installed, open http://<tailscale-ip>:18435 from any device on your tailnet.
For HTTPS, try Tailscale Serve:
tailscale serve --bg 18435# https://<machine-name>.<tailnet>.ts.netWireGuard
Section titled “WireGuard”With a WireGuard tunnel set up:
wg-quick up wg0GOSOK_HOST=0.0.0.0 ./gosok# http://<wireguard-ip>:18435