Live data from Hacker News

Building a Simple VPN with WireGuard with a Raspberry Pi as Server

snikt.net

31–40 of 126 posts

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#31
post #13

Earlier quoted context omitted.

That's for a Raspberry Pi 4, which should have a pretty drastic performance difference from the Raspberry Pi 3 mentioned in the article since only one of those has proper gigabit Ethernet. It does seem pretty good though. I'm having trouble getting past 25 Mb/s in, 100 Mb/s out on my Edgerouter X.

Rpi 3b has proper gigabit Ethernet though. Edit: 3B+. My bad.

It doesn't.

Edit: It doesn't.

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#32
post #14

I have beeen looking at setting up a vpn to be able to hook up my pc to the office network. I don't know a whole lot about it but I ended up trying out Softether for the job just this weekend. It's a free and opensource project from the University of Tsukuba, Japan. It promises that it can achieve speeds far higher than Openvpn. It was really just a click next, next type setup both on client and server which was the…

Certainly not an expert but I switched from openvpn to softether for personal use back in 2015-16 out of curiosity, saw substantially lower latency. I see openvpn as the samba of vpn servers. Huge hassle to configure for performance, so much history that searching when you have issues is difficult.

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#33
post #26

Earlier quoted context omitted.

I've thought about trying to build a commercial pi-hole product. Anyone else?

I've also thought about this. But basically it will be re-packaging a modern linux kernel, giving some support w/ key management and packaging it in a nice case. I think there is definitely a market for it.

I feel like a Wireguard-only VPN company might be viable and a hardware product would be a good side product

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#36

Earlier quoted context omitted.

I'm trying to set it up on a RPI4 as an 802.11ac wireless router, to verify this. If it manages 100mbps+ then it'll be a cheap replacement for my current router.

Are you keeping a write-up of your progress anywhere? Would love to see how this turns out.

Not yet; but that's a good idea. Thanks for the nudge :)

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#37
post #33
post #26

Earlier quoted context omitted.

I've also thought about this. But basically it will be re-packaging a modern linux kernel, giving some support w/ key management and packaging it in a nice case. I think there is definitely a market for it.

I feel like a Wireguard-only VPN company might be viable and a hardware product would be a good side product

The VPN gives you monthly recurring revenue versus the one-time hardware revenue. Maybe a subscription that includes an up-to-date DNS blacklist for the pi-hole?

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#38
post #31

Earlier quoted context omitted.

It doesn't. Edit: It doesn't.

The 3B+ does though, IIRC (w/ PoE support too)

It doesn't. The ethernet is connected to a USB 2.0 bus. Yes the link trains at 1 gbps, but it's limited by the slow bus.

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#39
Cool project - if you're looking to set up a secure VPN in a quick, no-nonsense way, be sure to look at [Algo](https://github.com/trailofbits/algo). Does WireGuard (and IPSec if you want), only secure, sane defaults, and nothing more. Hands down the easiest, most secure way to setup a modern VPN in a few minutes. Far better than using some random anonymous VPN service running out of some random person's closet that's.

Re: Building a Simple VPN with WireGuard with a Raspberry Pi as Server

#40
post #13

Earlier quoted context omitted.

That's for a Raspberry Pi 4, which should have a pretty drastic performance difference from the Raspberry Pi 3 mentioned in the article since only one of those has proper gigabit Ethernet. It does seem pretty good though. I'm having trouble getting past 25 Mb/s in, 100 Mb/s out on my Edgerouter X.

Rpi 3b has proper gigabit Ethernet though. Edit: 3B+. My bad.

"faster (300 mbps) Ethernet"[1]

[1]: https://www.adafruit.com/product/3775

Post reply on HN