Installation of OpenVPN Client Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
FixFax
Posts: 1
Joined: Wed Jan 02, 2019 1:06 pm

Installation of OpenVPN Client

Post by FixFax »

Hi guys,

Can anyone help me install and setup OpenVPN client on my DietPi?
I have tried google to find a guide but without any luck.

Kind regards
FixFax
User avatar
WarHawk
Posts: 610
Joined: Thu Jul 20, 2017 8:55 am

Re: Installation of OpenVPN Client

Post by WarHawk »

Maybe this will help

https://wiki.debian.org/OpenVPN
JRaducha
Posts: 7
Joined: Sat May 25, 2019 11:49 pm

Re: Installation of OpenVPN Client

Post by JRaducha »

User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Installation of OpenVPN Client

Post by MichaIng »

Also: Usually the VPN service provider has install instructions and provide .ovpn config files to start.
But of course if you want to connect to another own VPN server, then JRaduchas instructions are great.
przemko
Posts: 70
Joined: Sun Mar 15, 2020 5:40 pm

Re: Installation of OpenVPN Client

Post by przemko »

MichaIng wrote: Mon Jun 03, 2019 3:43 pm Also: Usually the VPN service provider has install instructions and provide .ovpn config files to start.
But of course if you want to connect to another own VPN server, then JRaduchas instructions are great.
Hi, can You advise me? I have installed debian on VPS and I have openvpn server there. Now I make my own server with Rpi4 and Dietpi in home. I forward ports and have Nextcloud (with SSL), Emby server and qbittorrent server here. When I generate ovpn file from my VPS - VPN and connect my Diet pi to that will thiss affect somehow my Nextcloud or Emby?
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Installation of OpenVPN Client

Post by MichaIng »

Indeed it usually does. When you connect your system as client to a remote VPN server, then OpenVPN sets routes so that all traffic is forced through the VPN connection. So when you connect to your webserver,/Nextcloud the system will answer through the VPN connection as well, hence those answers never arrive at your browser.

In short by connecting to a VPN server, all inbound connections are broken as the system will not answer those.

It is possible to implement some VPN split, so that VPN routes are only active for certain processes/users or certain ones are excluded from the VPN, but this is some more work where I also have not too much experience with.
oliverjames19931
Posts: 4
Joined: Sat Mar 28, 2020 4:48 pm

Re: Installation of OpenVPN Client

Post by oliverjames19931 »

WarHawk wrote: Wed Jan 02, 2019 5:09 pm Maybe this will help

https://wiki.debian.org/OpenVPN
I have read this and it helped me alot alot, thanks for sharing :)
Post Reply