Unkernel Relay

Give the Debian terminal internet access through your computer or another Wisp relay you trust.

Terminal connection

Keep the default address for a relay on this computer. For a remote relay, enter its URL, such as wss://relay.example.org:8443/wisp/.

Open Linux Terminal

Activate & Test saves this address for new Bash sessions, including APT downloads, then checks the connection to example.com.

Start a relay on your computer

On the computer running the browser, download wisp.py using GitHub’s Download raw file control. Open a host terminal in the download folder and run the following command.

python3.12 wisp.py

Leave the host terminal open, select Activate & Test, and open a new Debian shell. Stop the host relay with Ctrl+C.

Windows, Node.js, Java, or a different port

Choose a file from the relay folder. Run one of these commands from its folder as a regular user.

Windows PowerShell
.\wisp.ps1
Windows Script Host with wisp.ps1 in the same folder
cscript //nologo wisp.vbs
Node.js
node wisp.js
Java Development Kit 11 or newer
java WispRelay.java

For port 7000, run python3.12 wisp.py --port 7000 or .\wisp.ps1 -Port 7000 and enter ws://127.0.0.1:7000/ here.

Connection problems and remote relays

The supplied relays allow https://susi.ai and local HTTP or HTTPS sites on localhost, 127.0.0.1, or [::1] on any port by default. This page’s origin is https://susi.ai. For another hostname, supply a replacement list of exact origins on startup with --origin (use -Origin in PowerShell). Builder opened from disk uses the same address. The defaults accept the null origin used by local files and other opaque pages.

If the handshake fails, check the host’s listening address and port, the browser’s local-network permission, and the allowed origin. If the browser blocks an insecure WebSocket, use wss:// with a certificate trusted for that hostname.

The supplied host programs listen on loopback. For a relay on a different machine, use a reachable Wisp service or publish the loopback service through a WebSocket-capable TLS reverse proxy. If Wisp connects but the test receives no HTTP response, check DNS and outbound TCP port 80 on that machine.

From Debian, host.unkernel reaches the supplied relay host’s loopback services. For example, try curl http://host.unkernel:8000/ when a local web server is running there.

Read the Unkernel Relay manual