Description
Tunwg is an end-to-end encrypted tunnel that exposes a server running on your machine, such as one on local port 8080, under a secure address. The local tunwg instance on your machine generates an HTTPS certificate for you and decrypts the traffic there before forwarding it to your local server, so the project says the traffic stays private to you. You can also self-host your own server. Pre-compiled binaries are on the GitHub releases page for Windows, Linux, and Mac on both Arm and Intel. You can install from source, or run it in Docker, where host networking is needed to reach a port on the host. Subdomains are derived from your WireGuard key and the forwarded address, so the URL stays the same across restarts. To use your own domain, add a CNAME record that points to the encoded tunwg.com domain. Certificates are issued by Let's Encrypt and renewed automatically, with ZeroSSL as a fallback. If a firewall blocks UDP, traffic can be relayed over HTTPS. Go developers can also embed tunwg directly in their programs.…
Highlights
- End-to-end encrypted tunnels to local servers
- Persistent URLs across restarts
- Custom domains through a CNAME record
- Automatic SSL certificates
- HTTPS relay when UDP is blocked
Ratings & Reviews
No ratings yet
Be the first to rate Tunwg.
People also visit
Tunwg FAQ
What is tunwg?
A secure tunnel that exposes a server running on your machine, such as a local port 8080, to the internet.
Is my traffic private?
The project says traffic is encrypted end to end and decrypted only on your machine, so it stays private to you. You can also self-host the server.
How do I install it?
Download a pre-compiled binary from the GitHub releases page, or install from source. It can also run in Docker with --network=host.
Can I use my own domain?
Yes. Add a CNAME record in your DNS provider that points your subdomain at the encoded tunwg.com domain.
What if my firewall blocks UDP?
Set TUNWG_RELAY=true in the client environment to relay traffic over HTTPS.
What are the best Tunwg alternatives?
Popular alternatives to Tunwg include Drip Tunnel, tunnelto.dev and Wormhole. See all Tunwg alternatives



