Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Install OpenVPN-Client directly in the OS, not in Docker's container

Featured Replies

Hi, I'm new on Unraid and I try to do something. I want to install OpenVPN-Client directly in the OS, not in a Docker's container. I want to do this to be able to have all the containers in the VPN server network (VPN server-side). And also be able to redirect container ports in Unraid. Because currently I have an OpenVPN-Client container and I have connected all my other containers to it in the OpenVPN-Client container network. But it's not practical because I will have containers using the same ports and I will not be able to redirect them.

 

So how do you go about installing OpenVPN directly in the OS? From the command line, but where?

Also, I don't understand what plugins are? Is there an OpenVPN-Client plugin?

Thanks for your help !

Edited by loupqhc

  • Community Expert
2 hours ago, loupqhc said:

OpenVPN-Client plugin?

Have you looked on the Apps page? 

4 hours ago, trurl said:

Have you looked on the Apps page? 

The plugin hasn't been available (probably about a year) because the plugin doesn't actually exist anymore on the specified GitHub repository (or was deleted by the author)

 

7 hours ago, loupqhc said:

I don't understand what plugins are

At a very high level, plugins are simply a different delivery method for an application other than a docker container.

 

However, due to their nature in CA / Unraid, applications which are better suited towards being delivered in a container are not allowed to exist as a plugin.  This means that plugins are generally geared towards OS / WebUI enhancements, Utilities etc.  (OpenVPN server or client as a plugin if it was available does meet this criteria)

 

You could however leverage the Client containers to operate for the OS, with the codicil that you'll most likely lose network access if the container (or array) is stopped

  • Author
25 minutes ago, Squid said:

You could however leverage the Client containers to operate for the OS, with the codicil that you'll most likely lose network access if the container (or array) is stopped

Okay, so it's possible to connect Unraid to the VPN server and not just a container (So all the containers are connected to the VPN server) ? If it's possible, do you have any idea how to do it ? And what is "the codicil" ?

 

Thanks !

  • Author

Anyone ?

Also interested in how to install OpenVPN natively on Unraid because i´m behind a cgnat and want to connect to a vpn provider that gives me a public ipv4. I could probably life with downtime if the array shuts down but i cant get the docker container to work with my reverseproxy.

  • 2 weeks later...
  • Author
On 9/17/2021 at 11:58 PM, DitaSoft said:

Also interested in how to install OpenVPN natively on Unraid because i´m behind a cgnat and want to connect to a vpn provider that gives me a public ipv4. I could probably life with downtime if the array shuts down but i cant get the docker container to work with my reverseproxy.

Have you find a solution ? I'm still stuck...

  • 3 years later...

I'm going to necrobump this since there was no answer since 2021 and it was the only result that asked exactly what I'm trying to do here. 

 

Connect to a openvpn server within unraid, not using docker containers. 

Got it working

 



wget https://slackware.uk/slackware/slackware64-15.0/slackware64/n/openvpn-2.5.5-x86_64-1.txz

wget https://slackware.uk/slackware/slackware64-current/slackware64/n/openssl-3.4.0-x86_64-1.txz

installpkg openvpn-2.5.5-x86_64-1.txz
installpkg openssl-3.4.0-x86_64-1.txz

 

 

get https://github.com/alfredopalhares/openvpn-update-resolv-conf 

 

 cp update-resolv-conf.sh /etc/openvpn/update-resolv-conf

 

enjoy

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.