chairmanmao
Posts: 19
Joined: Fri Dec 04, 2015 9:32 pm

Installing OpenVPN on a Pi

Tue May 28, 2019 11:25 pm

I really appreciated the help I got from several people on this forum when I was trying to configure a VPN server on my Pi. I thought I'd "pay it forward" by sharing an article I wrote about what I learned.

https://imperfect.olbert.com/2019/05/28 ... tunneling/

Enjoy!

- Mark

itsmedoofer
Posts: 344
Joined: Wed Sep 25, 2013 8:43 am

Re: Installing OpenVPN on a Pi

Thu May 30, 2019 11:32 am

Nice write up, thanks for sharing.

My 2p worth of contribution, if you are seeing poor speeds over your VPN connection try adding the following to your server.conf file

Code: Select all

sndbuf 393216
rcvbuf 393216
push "sndbuf 393216"
push "rcvbuf 393216"
I can pull 20Mbit/S using my Pi2 basically maxing out the upstream connection of my internet with this added, previously I would get a flaky 8Mbit/S.

Also if you are on Andriod, the official OpenVPN app will stall if you swap network connection, say going from mobile data to WiFi or hopping WiFi access points, I have been using OpenVPN Client (colucci-web.it) for about 6 months now, a first class client, no issues at all.

sharperalison6
Posts: 6
Joined: Thu May 30, 2019 9:49 am
Contact: Website

Re: Installing OpenVPN on a Pi

Fri May 31, 2019 12:08 pm

thanks for the help :)

gtoal
Posts: 111
Joined: Sun Nov 18, 2012 12:02 am

Re: Installing OpenVPN on a Pi

Thu Jun 13, 2019 4:57 am

Thanks! I'ld managed to set up an OpenVPN server on a remote intel-based debian following the instructions in https://www.digitalocean.com/community/ ... untu-16-04 but I've been a bit wary of translating them to the Pi world! Appreciate your write-up and the pointer to the script that simplifies the whole deal!

Return to “Networking and servers”