How to install openvpn CLIENT (instead of server)

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
zilexa
Posts: 3
Joined: Wed Jan 17, 2018 8:37 pm

How to install openvpn CLIENT (instead of server)

Post by zilexa » Wed Jan 17, 2018 8:42 pm

Perhaps an extremely stupid question, but I can only find "OpenVPN server" and "PiVPN" in the software selection list.
Should I install OpenVPN client simply via apt-get? Or am I missing something here?
I simply want my DietPi Raspberry Pi to be connected to NordVPN for all internet connections (not for LAN connections).

Also, when VPN goes down, I want to make sure Transmission will not have internet access until the tunnel is restored. I am sure I can find a guide for that somewhere. First step is to install Openvpn CLIENT and get it set up with NordVPN.

Should it not be listed?

User avatar
johnvick
Legend
Posts: 518
Joined: Wed Jun 08, 2016 10:53 am
Location: New Zealand

Re: How to install openvpn CLIENT (instead of server)

Post by johnvick » Thu Jan 18, 2018 1:45 am

It is easy to install manually. What you want to do is well covered in this guide.

https://www.htpcguides.com/configure-tr ... -debian-8/

I did this on Banana Pi running Dietpi and can confirm that it works but it is not that easy a job to set up.

John

zilexa
Posts: 3
Joined: Wed Jan 17, 2018 8:37 pm

Re: How to install openvpn CLIENT (instead of server)

Post by zilexa » Thu Jan 18, 2018 8:17 am

johnvick wrote:It is easy to install manually. What you want to do is well covered in this guide.

https://www.htpcguides.com/configure-tr ... -debian-8/

I did this on Banana Pi running Dietpi and can confirm that it works but it is not that easy a job to set up.

John
Wow thanks a lot for that guide for split tunneling. In the past I tried to do it via network namespaces but it was way too complex, even after I found this tool called NSDO.

But I am still quite shocked DietPi doesn't have OpenVPN CLIENT in its software list. It is of course simple to install manually.

Also, Flexget is completely missing in the list.

zilexa
Posts: 3
Joined: Wed Jan 17, 2018 8:37 pm

Re: How to install openvpn CLIENT (instead of server)

Post by zilexa » Sun Jan 21, 2018 10:17 am

johnvick wrote:It is easy to install manually. What you want to do is well covered in this guide.

https://www.htpcguides.com/configure-tr ... -debian-8/

I did this on Banana Pi running Dietpi and can confirm that it works but it is not that easy a job to set up.

John
That guide does not work on DietPi anymore because it doesn't work on Debian Stretch.

This is a much better solution and also much easier to setup:
https://austinjadams.com/blog/running-s ... h-openvpn/

Using NSDO (created by Austin):
https://github.com/ausbin/nsdo/blob/master/README.md

jtoregan
Posts: 1
Joined: Wed Apr 04, 2018 6:09 pm

Re: How to install openvpn CLIENT (instead of server)

Post by jtoregan » Sun Apr 08, 2018 3:00 am

it worked for me. the split vpn & transmission setup & port forwarding guides they had. The only thing is you need PIA's vpn specifically for the forwarding.

bones
Posts: 1
Joined: Fri Apr 20, 2018 10:02 am

Re: How to install openvpn CLIENT (instead of server)

Post by bones » Fri Apr 20, 2018 10:12 am

HI,

just to say the htpcguides.com split tunnel worked for me too, on a fresh install of dietpi 6.7.

But I can't get it work on an install with fail2ban, even after purging fail2ban...

Post Reply