Implements a websockets ethernet tunnel which can be used to stand up a simple VPN or to enable switched network access for in-browser emulators like jor1k.
The protocol is dead simple. Connect via websocket and start transmitting/receiving ethernet frames.
This image contains everything to get up and running with your own relay, including NAT and DHCP support. To run it you'll need to create the container with the --privileged flag, as the container must create an internal TAP device.
For the code see https://github.com/benjamincburns/websockproxy
To see this relay in action providing network access for an in-browser emulator, visit http://jor1k.com/