Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by als0 on Wednesday January 29, 2020 @01:54PM
(#22184406)
What's the throughput like on a Raspberry Pi?
[ Parent
| on HN ]
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by probablyexists on Wednesday January 29, 2020 @02:26PM
(#22184772)
I was only able to get ~60mbps with OpenVPN through a hard wired Raspberry Pi 3 connected to Google Fiber, due to limitations of its bus.
The 4 is supposed to be actual gigabit, but I have not yet tried it out to confirm.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by eatbitseveryday on Wednesday January 29, 2020 @02:31PM
(#22184818)
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.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by bananaeater on Wednesday January 29, 2020 @02:39PM
(#22184913)
Are you keeping a write-up of your progress anywhere? Would love to see how this turns out.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by eatbitseveryday on Wednesday January 29, 2020 @04:58PM
(#22186307)
Not yet; but that's a good idea. Thanks for the nudge :)
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by dicknuckle on Thursday January 30, 2020 @10:53PM
(#22198876)
are you using OpenWRT or something else?
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by eatbitseveryday on Monday February 03, 2020 @08:14AM
(#22223839)
Starting with Ubuntu for now, and hostapd.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by tjoff on Wednesday January 29, 2020 @05:44PM
(#22186800)
OpenVPN is extremely slow, same setup with wireguard is guaranteed to be much faster.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by vardump on Wednesday January 29, 2020 @03:42PM
(#22185576)
Raspberry Pi 3 can do at least 250 Mbps. Perhaps it's limited by something else, like crypto or your actual connection?
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by bscphil on Thursday January 30, 2020 @01:10AM
(#22189242)
Not the original Pi 3B, you're thinking of the 3B+. https://magpi.raspberrypi.org/articles/raspberry-pi-3-specs-...
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by willis936 on Thursday January 30, 2020 @12:49AM
(#22189160)
I just ran iperf from my Pi4 to my Ubuntu VM in the same LAN five minutes ago. 850 Mbps symmetric with no VPN.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by bscphil on Thursday January 30, 2020 @01:06AM
(#22189223)
I get 940 Mbps for two devices on the same switch.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by kingosticks on Wednesday January 29, 2020 @03:23PM
(#22185385)
Which bus limits to 60mbps? The USB limitation shouldn't be anywhere near that low.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by bjoli on Friday January 31, 2020 @10:16AM
(#22202308)
I don't know, but you get the extra limitation of USB2 being half duplex. USB2 is something like 480mbps. Add half duplex limitations and just general overhead compared to theoretical max. I can see how some network protocols become limited to 60mbps.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by samsepi0l on Wednesday January 29, 2020 @03:41PM
(#22185561)
The USB bus on those is shared with all devices
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by kingosticks on Wednesday January 29, 2020 @03:58PM
(#22185738)
True. It does depend what else you are doing with the pi. Something like a USB hard drive could account for that poor performance, especially if you were upload from/downloading to it.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by themattress on Wednesday January 29, 2020 @02:33PM
(#22184848)
I’ve been using a pi3 for about a year as a full time VPN on my cell phone and laptops.
3 is only 100mbit eth, but I’ve had almost no issues with it. Connects fast, no problem streaming HD video or cloning huge git repos. Maybe when I get home today I’ll take some measurements.... But my biggest issue is the trash Powerline Ethernet between my router and rest of my network.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by giancarlostoro on Wednesday January 29, 2020 @02:41PM
(#22184932)
I have issues with my wireless signal just crapping out from out of nowhere from time to time. Usually in specific spots in my home. I setup a repeater (thinking a mesh network might be the better choice, but this was a much cheaper temporary solution) but it still sometimes happens. The ethernet is fine on the other hand.
I run OpenHAB and Pi-Hole all on a RPi3 on ethernet, no issues so far.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by fulafel on Wednesday January 29, 2020 @02:52PM
(#22185050)
Here is someone's benchmark from reddit: https://www.reddit.com/r/WireGuard/comments/eeafds/wireguard... (tl;dr "Avg: 829 Mbps")
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by Hamuko on Wednesday January 29, 2020 @03:19PM
(#22185346)
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.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by fulafel on Wednesday January 29, 2020 @11:40PM
(#22188886)
Sure but that article was about using it on a LTE connection and the GP was asking about Pi in general. In the articles setup it's going to be bottlenecked on the cellular network anyway.
(The Pi 3 also is 4 years old now and you wouldn't want to buy it today)
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by josteink on Wednesday January 29, 2020 @04:34PM
(#22186102)
Rpi 3b has proper gigabit Ethernet though.
Edit: 3B+. My bad.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by 0xCMP on Wednesday January 29, 2020 @05:40PM
(#22186761)
"faster (300 mbps) Ethernet"[1]
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by segfaultbuserr on Thursday January 30, 2020 @05:10AM
(#22190271)
It's basically a 1 Gbps PHY connected to 480 Mbps USB 2.0, so it's 240 Mbps Ethernet.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by Hamuko on Wednesday January 29, 2020 @04:43PM
(#22186172)
It doesn't.
Edit: It doesn't.
Re:Building a Simple VPN with WireGuard with a Raspberry Pi ...
by spmurrayzzz on Wednesday January 29, 2020 @04:57PM
(#22186296)
The 3B+ does though, IIRC (w/ PoE support too)