Give your browser VM a network.
relaynet is a hosted relay for virtual machines that run in a web page. Point the VM's network adapter at a WebSocket and it gets DNS, TCP and UDP to the public internet, with per-account limits and nothing reachable inside the relay's own network.
relaynet is in an invite-only beta. Sign in, then redeem your invite code.
1. Get a token
Sign in with your invite and create an API token from your dashboard.
2. Open the WebSocket
Connect to wss://relay.relaynet.network with the token in the subprotocol
list. Ethernet frames go in, Ethernet frames come out.
3. Boot the VM
The relay answers DHCP and ARP, forwards TCP and UDP, and resolves DNS. Works with v86, container-in-browser projects, or anything that speaks the protocol.
Connecting from a page
const ws = new WebSocket("wss://relay.relaynet.network", [
"relay.v1",
"relay.token." + token, // an API token from your dashboard
]);
// hand `ws` to your VM's network adapter
Browsers cannot set headers on a WebSocket, so the token travels as a subprotocol
entry. Non-browser clients may send Authorization: Bearer instead.
Beta account
- Long-lived API tokens, up to 4 concurrent sessions
- Any port except mail, 1 MiB/s each direction
- 12 hour sessions, 20 GB per month
Redeem your invite
relaynet is in an invite-only beta. Enter the code you were sent to activate your account.
No code? Ask the person who told you about relaynet, or write to support@relaynet.network.
Account
Usage this month
| Month | Received by VMs | Sent by VMs | Sessions |
|---|
Active sessions
No sessions right now. Open one from your VM page and it will appear here.
| Started | From | VM address | Connections | To VM | From VM |
|---|
API tokens
No tokens yet. Create one to connect a VM.
| Name | Prefix | Created | Last used | Expires | Status |
|---|
Delete account
Deletes your account, API tokens and usage history and closes your sessions. This cannot be undone. Type to confirm.