19 points · by yoloshii · 1y ago · 33 comments
This stack turns a Raspberry Pi (or any OpenWrt-compatible device) into a network-wide VPN gateway.
Key features: - Firewall kill switch: VPN down = no internet (not a software rule that can leak) - AmneziaWG obfuscation for DPI-resistant connections - Optional AdGuard Home for DNS filtering - Works for all devices including smart TVs and IoT that can't run VPN apps
Not a techie? The README is optimized for AI-assisted deployment. Feed it to your LLM of choice (Claude, GPT, etc.) and it can walk you through the entire setup for your specific hardware.
Mullvad-focused but works with any WireGuard provider. MIT license.
Docker deploy in testing (coming soon)
I think that firewalling/filtering and routing are software (though they can be accelerated in hardware).
"Hardware kill switch" is a useful pre-existing term, which I've only seen used to mean a user-controlled mechanical switch that physically opens or closes one or more electrical circuit conductor paths necessary for whatever is to be "killed" (electrically disconnected).
For example, let's say your network connector had several pins; a kill switch might mechanically disconnect those pins from wires or PCB traces, in a very simple and verifiable way, which obviously nothing in software/firmware/backdoors/etc. could circumvent. (Well, unless the software could control a robot arm, to go flip the mechanical switch, or solder in a bypass.)
Calling something else "hardware kill switch" seems incorrect. I don't say this to be pedantic, but because it's an important security feature, which this system claims to have, but does not.
If (I’m speculating here) that’s the real question you wanted to ask, it’s perfectly okay to ask that.
The whole thing is AI slop. I thought there might be something interesting here but it's just a bunch of disconnected fragments of OpenWRT config and some other bits without any overall thought.
It doesn't even use network namespaces. You can probably do better by giving your LLM https://www.wireguard.io/netns/ as input.
Not at all. Put the LAN interface in a network namespace that is different to the host (ip link set ... netns ...).
This gives you your "kill switch" without even needing firewall rules, it happens on a lower level.
What's the difference between this, and just configuring the VPN settings that's available on my router that came with my ISP?
As far as I know, both of these are in the kernel (not hardware). It's odd that so much of the README is dedicated to describing this relatively simple firewall rule, but the whole thing smells like generated slop.
You might have something interesting here, but arguing this point is burying anything else of value you might have. Just take the feedback and remove it.