wsgows
v1.0.1
Published
Wireguard over WebSockets
Readme
wgows
WireGuard over WebSockets
Installation
pnpm i -g wgowsUsage
Client
wgows c -p 3000 -e wss://wgows.example.com
# -p = Local port to bind to
# -e = Server endpointServer
wgows s --wsp 3000 --wgp 51820
# --wsp = Server port to bind to
# --wgp = WireGuard portUsage
In your WireGuard config replace the endpoint with the client endpoint/port
How?
TL;DR: WG Client <-> WS Client <-> WS Server <-> WG Server
- The client binds to a local port
- Receives UDP/WG traffic
- Forwards to the server
- Server forwards to the WG server
- Server sends traffic back to the client
- Client relays to the WG client
