Yammers
Posts: 69
Joined: Tue Nov 14, 2017 9:01 pm

OpenVPN

Mon Oct 07, 2019 12:24 am

Hi has anyone had any luck in getting openvpn to wok on the rasbery pi.

I only ask as i have been told i can run the server on the rasberry pie and then use my lap top to link to it as private tunnel if so can you please explain how you did this

Kendek
Posts: 145
Joined: Thu Jul 25, 2019 4:39 pm
Location: Kaposvár, Hungary

Re: OpenVPN

Mon Oct 07, 2019 7:40 am

The OpenVPN server works just fine on the Pi. If you don't know how to configure it, then use an installer script. If you want to configure it manually, it's not that simple. I used my script on my router and moved the contents of the /etc/openvpn directory.
If you just want a good VPN server, maybe the WireGuard is better for you. It's faster on the Pi and easier to configure.

User avatar
neilgl
Posts: 1612
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near Aston Martin factory

Re: OpenVPN

Mon Oct 07, 2019 10:17 am

Yes and if you want to access the pi VPN from the internet, you may also need to configure port forwarding in your router (port 1194 for openvpn). And set a reserved ip address for the pi in your router. You can then install OpenVPN client on your laptop (there are also Android and IOS versions that work). Then you generate the .ovpn file (security certificate / keys) on the pi and get it to your laptop.

Return to “General discussion”