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…
What is conveniently overlooked in these neverending^1 HN comments that dismiss RPi as "inferior" is that (a) RPi is a brand, (b) people are familiar with and trust the brand and (c) when everyone is doing their projects on the same hardware it avoids compatibility disclaimers like "This is project is tested on X. It may or may not work on Y." It obviates consideration of "hardware compatibility". With the RPi people…
Build your own private WireGuard VPN with PiVPN
221–230 of 235 posts
Re: Build your own private WireGuard VPN with PiVPN
#222Taking 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…
Interesting and interested. I’ll be following, for the learning experience if nothing else.
Re: Build your own private WireGuard VPN with PiVPN
#223Earlier quoted context omitted.
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…
Just use a 1 time card and reinstall the OS.
Re: Build your own private WireGuard VPN with PiVPN
#224Earlier quoted context omitted.
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…
Just use a 1 time card and reinstall the OS.
Re: Build your own private WireGuard VPN with PiVPN
#225One thing that tripped me up on arch linux with KDE Plasma was that importing the downloaded WireGuard configuration didn't work in NetworkManager using the gui. After a bit of tinkering, I finally discovered that you can download the conf file to your computer and then run the following command:
nmcli connection import type wireguard file [CONF_FILE]
That adds it to NetworkManager, making it easy to connect to from the gui.Re: Build your own private WireGuard VPN with PiVPN
#226Earlier quoted context omitted.
What is conveniently overlooked in these neverending^1 HN comments that dismiss RPi as "inferior" is that (a) RPi is a brand, (b) people are familiar with and trust the brand and (c) when everyone is doing their projects on the same hardware it avoids compatibility disclaimers like "This is project is tested on X. It may or may not work on Y." It obviates consideration of "hardware compatibility". With the RPi people…
It's more that all the instructions you'll find assume raspberry pi os as it is the hardware. If there was more diversity of OS in everyday use you might see more fragmentation.
Now, maybe the setup I choose is more difficult on one OS than on another. This is where RPi shines, IMO. As a project creator, I can use an OS I choose from among a variety that have been ported to the RPi, including non-popular ones, and I know every RPi user can easily run it because it's been already been pre-installed on SDCard; the RPi is not OS-specific. No pre-installtion of OS! (This pre-installation practice enabled Microsoft to stifle competition and hold back progress in computing for decades.)
Prior to RPi, many SBC only had GNU/Linux as an OS choice because that's what's popular. For example, prior to the RPi port running Plan9 required careful hardware purchasing choices. Choosing RPi, a well-known brand, is arguably much easier.
Re: Build your own private WireGuard VPN with PiVPN
#227Algo project still works well. Very quickly launch a WireGuard VPN to several popular cloud providers, or any Linux instance you already have access to, including your rPi. https://github.com/trailofbits/algo
I still find some websites will block you as your traffic will be originating from a datacenter (if going cloud option like me), but most work. I find this setup also works for some services that do not work via VPNs such as Mullvad.
If you want to talk to other devices check out the `BetweenClients_DROP` setting ("road warrior")
Re: Build your own private WireGuard VPN with PiVPN
#228Earlier quoted context omitted.
Just use a 1 time card and reinstall the OS.
Why stop at reinstalling the OS? You also need to throw away the PC in the dumpster of another neighborhood or city and at least use an angle grinder on the NIC and SSD. Don't forget to wipe off the fingerprints beforehand.
Re: Build your own private WireGuard VPN with PiVPN
#229Earlier 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…
My experience has always been a good one. Just be prepared to wait a while for delivery, the business cards were about three weeks.
Re: Build your own private WireGuard VPN with PiVPN
#230At 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…
> GL.iNet GL-SFT1200 (Opal) According to https://docs.gl-inet.com/en/4/tutorials/tailscale/ the GL-SFT1200 (Opal) does not support Tailscale but different models from GL.iNet do.