I run wg-easy https://github.com/WeeJeWel/wg-easy for this sort of thing. I use the docker container, and it's great. "Just works". Also, unrelated, I just decided I don't like the sentiment of "PiMyProjectName" branding. I know most projects don't just run on a Pi, and that the intent is to say "you can self-host thing", but at this point if you want to run a home server sort of thing, just buy some cheap 100-200 do…
Build your own private WireGuard VPN with PiVPN
211–220 of 235 posts
Re: Build your own private WireGuard VPN with PiVPN
#212Earlier quoted context omitted.
The Pis shine primarily in terms of power consumption, under load, a mini PC could cosume 50W, where a Pi (and other ARM boards) will do an absolute maximum of 15W. And if you have multiple devices that run 24/7, that could be a significant saving
The trouble there is if you're actually compute bound, the Pi's performance is also a lot worse, and if you're not, you should be comparing the idle power consumption. There are plenty of PCs that idle at under 10W. PCs also support arbitrary amounts of memory, so you can often avoid needing multiple devices by using virtualization.
Re: Build your own private WireGuard VPN with PiVPN
#213Earlier quoted context omitted.
I love these things: https://www.aliexpress.us/item/3256804116114245.html There are a few suppliers, but the 4x Intel NICs open up lots of possibilities. They're very lower power, but still fast enough to handle a lot of traffic. I run VMWare ESXi on mine and use openwrt for my router on two ports and then a general purpose server in another VM.
I have a couple of N5105 boxes I got off of Amazon on sale, but I haven't put them into use, yet. I've never bought off of AliExpress. I'm in the U.S. Do people take precautions when ordering from them? I'm not so worried about the products, themselves. I'm worried about the use and security of my financial data. Worried as in, I just don't know whether they are safe stewards. No experience, no one to ask. Except may…
Re: Build your own private WireGuard VPN with PiVPN
#214Earlier quoted context omitted.
If you need Pi like but not specifically a Pi check out the Rock5B: https://www.sevarg.net/2023/01/01/battle-of-the-boards-2023/
Alternative SBCs I've been looking at are the Orange PI 5, Khadas VIM1S, NanoPi R6S https://hackerboards.com/
Re: Build your own private WireGuard VPN with PiVPN
#215Earlier quoted context omitted.
Wattage for the whole thing is as mentioned, TDP of just the CPU is 4 to 6 watt (configurable). This particular one has a fan which will kick in if you run it hard for long periods, for truefanless I'd suggest the B1 instead. Or if you go for the splurge you can knock cTDP down and still run circles around the pi in performance.
Any recommended without Windows around that price?
Re: Build your own private WireGuard VPN with PiVPN
#216While possible, many people already give access to their home networks via multi-homed devices they carry in their pockets everywhere they go.
Relying on anything below the application layer for security is not very good these days.
Re: Build your own private WireGuard VPN with PiVPN
#217Re: Build your own private WireGuard VPN with PiVPN
#218I run wg-easy https://github.com/WeeJeWel/wg-easy for this sort of thing. I use the docker container, and it's great. "Just works". Also, unrelated, I just decided I don't like the sentiment of "PiMyProjectName" branding. I know most projects don't just run on a Pi, and that the intent is to say "you can self-host thing", but at this point if you want to run a home server sort of thing, just buy some cheap 100-200 do…
> just establishing an ssh connection doesn't take multiple seconds
That's almost certainly power saving on the WiFi. Annoying but fixable. Seems to be on by default, and a `/sbin/iwconfig wlan0 power off` line in rc.local should fix it.
Re: Build your own private WireGuard VPN with PiVPN
#219Taking an opportunity here for a completely shameless plug for an enterprise-y wg based corporate VPN. Uses mTLS for device auth, wg (obvs), OIDC to authenticate users/set up firewall access (Azure AD and Keycloak tested). Runs as a redundant cluster and can be hooked in via BGP. Very early and no docs to speak of yet, but raise an issue if interested. Works with standard WireGuard app on computers/phones, but an int…
Re: Build your own private WireGuard VPN with PiVPN
#220At the price Raspberry Pis are being sold (scalped) for it's discouraging and disappointing to see content creators continually going to that well. You can buy a travel router like the GL.iNet GL-SFT1200 (Opal) for $39.99. All of Gl.iNet's devices run OpenWRT already. Setting up Wireguard on OpenWRT is easy, and using Tailscale is even easier! Edit: Jeff's been creating awesome Raspberry Pi content for a long time an…
Any concerns over routers made in China? It’s true that a lot of chips are made in China. Nevertheless, the question remains.