SafeHaven – A Minimal VPN Implementation in Go
Hi HN, For the past few months, I've been exploring tools that integrate with the Linux networking stack. This led me to build SafeHaven, a lightweight and configurable VPN implementation written in Go. The goal was to better understand how virtual private networks work at a fundamental level. Would love feedback from the community! Repo link: https://github.com/kwakubiney/safehaven
SafeHaven – A Minimal VPN Implementation in Go launched on March 2, 2025 with 99 votes, #430 of 7,215 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 1 year on.
In plain words
SafeHaven is a lightweight VPN implementation written in Go designed to demonstrate how virtual private networks operate at a fundamental level. It integrates with the Linux networking stack and is built for developers seeking to understand VPN mechanics. The project is open-source and available on GitHub, created as an educational exploration into networking tools and protocols.
written from the facts on this page · September 2026
From the sources
VPN over UDP. Contribute to kwakubiney/safehaven development by creating an account on GitHub.
Usage: -d string private network destination (default " 10.108.0.2 " ) -g global routes all traffic to tunnel server -l string local address -s string remote server address (default " 138.197.32.138 " ) -srv server mode -tc string client tun device ip (default " 192.168.1.100/24 " ) -tname string tunname (default " tun0 " ) -mtu int tun interface MTU (default 1500) -ts string server tun device ip (default " 192.168.1.102/24 " ) -wg string path to WireGuard configuration file (JSON) WireGuard Encryption Support SafeHaven now supports an optional WireGuard encryption layer. To enable it, pass the -wg flag with the path to a WireGuard configuration JSON file. safehaven -tc 192.168.1.100/24 -ts…from github.com
Does a similar job
all alternatives →
Encrypted VPN in 2k lines of Go2017 · github.com · ▲123Simple, auditable & elegant VPN, built with TLS mutual authentication and TUN. - twitchyliquid64/subnet
Weron – A Peer-to-Peer VPN Based on WebRTC Written in Go2022 · github.com · ▲204Hey HN! I just released weron, a P2P VPN that uses WebRTC for transport which I've been working on for the last couple of months. It can create both layer 2/Ethernet and layer 3/IP overlay networks, and the underlying transport layer can be easily embedded to write your own P2P apps with Go. Compared to for example Tailscale, WireGuard and ZeroTier, its much harder to block on a network level and also significantly easier to set up, while not sacrifing much performance. I'd love to get your feedback :)
A simple SSH VPN client2017 · github.com · ▲113SSH-based "VPN for poors". Contribute to ivanilves/xiringuito development by creating an account on GitHub.
TailGuard – Bridge your WireGuard router into Tailscale via a container2025 · github.com · ▲150My elderly parents are behind a 5G connection in rural areas, and I help them manage their network from overseas. I found a reasonably priced 5G router that can do external antennas required for it to work, but the only reasonable ways to get access to it is either through OpenVPN or WireGuard, the latter of which is much more lightweight and preferred with the memory constraints of the device. The problem with WireGuard is that it requires handling key management oneself, and configuring the keys to every device you want to access it from. It also doesn't play nicely together with other…

Firezone, an open-source WireGuard-based alternative to OpenVPN AS2021 · github.com · ▲183I created Firezone to make it easier to host and manage your own WireGuard VPN server. While working at Cisco as a security automation engineer I experienced a lot of unnecessary pain managing secure network-level access into our cloud VPCs. I tried OpenVPN Access Server but I personally feel that security software should be open source to be validated (and improved) by the community. I discovered WireGuard and quickly fell in love with it, but soon found managing the peer configs to be a bit tedious and error-prone. So I built some convenience functionality on top, added a simple Web UI,…
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 28d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 26d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 23d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 21d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 28d ago · corespeed.io
Source: Show HN post ↗
Launched alongside, March 2025
the whole month →
Mimic Human Research & Save Findings in AI Knowledge Base
AI · 2025 · sider.ai




