Openvpn plugin on OVM4 ?

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • FreshMike wrote:

      I have uninstalled the plugin but can't find it anymore to reinstall. Any ideas?
      It hasn't been ported. I don't use vpn so I'm not the one to port it and we don't have much help. If it is something need, you will either have to stay on OMV 3.x or manually install openvpn. Maybe run openvpn in a docker?
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.6
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Ah ok :( Btw. I have installed the old plugin from 3.0 back. Getting this error:


      Source Code

      1. rror #0:
      2. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf openvpn setup 2>&1' with exit code '1': **************************************************************
      3. No /usr/share/easy-rsa/openssl.cnf file could be found
      4. Further invocations will fail
      5. **************************************************************
      6. NOTE: If you run ./clean-all, I will be doing a rm -rf on /usr/share/easy-rsa/keys
      7. Using CA Common Name: Fort-Funston CA
      8. grep: /usr/share/easy-rsa/openssl.cnf: No such file or directory
      9. pkitool: KEY_CONFIG (set by the ./vars script) is pointing to the wrong
      10. version of openssl.cnf: /usr/share/easy-rsa/openssl.cnf
      11. The correct version should have a comment that says: easy-rsa version 2.x in /usr/share/php/openmediavault/system/process.inc:175
      12. Stack trace:
      13. #0 /usr/share/openmediavault/engined/module/openvpn.inc(88): OMV\System\Process->execute()
      14. #1 /usr/share/openmediavault/engined/rpc/config.inc(168): OMV\Engined\Module\OpenVpn->applyConfig()
      15. #2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      16. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      17. #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      18. #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusy6...', '/tmp/bgoutputJ4...')
      19. #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
      20. #7 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
      21. #8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      22. #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      23. #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
      24. #11 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
      25. #12 {main}
      26. OK
      Display All
      Will continue to see if I can relink the new openssl version.
    • I'm sure there are things that need to be upgraded in the plugin to work on OMV 4.x. If you can figure those out, I will update the plugin with those fixes.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.6
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • I was also looking for OpenVPN for Arrakis, but there are few replacements, you can install OpenVPN for Debian (or which Linux do you run, but configuration is little bit tough).
      Easier replacement is OpenVPN-Access server. It has just 2 connected devices in free version, but setup is user friendly and after installation it's possible to access settings in webgui (OVPN-AS, not OMV).
      openvpn.net/index.php/access-server/overview.html
    • kejlycz wrote:

      I was also looking for OpenVPN for Arrakis, but there are few replacements, you can install OpenVPN for Debian (or which Linux do you run, but configuration is little bit tough).
      Easier replacement is OpenVPN-Access server. It has just 2 connected devices in free version, but setup is user friendly and after installation it's possible to access settings in webgui (OVPN-AS, not OMV).
      openvpn.net/index.php/access-server/overview.html
      What is the script of installing it on debian please?
    • Was anyone ITT able to get this running with a letsencrypt cert? I installed Openvpn-access server and it functions perfectly, but I'm not sure how to get https encryption working properly. Right now I have an Nginx server that redirects to the openvpn client port, and attempting to generate a certificate from the letsencrypt plugin doesn't seem to work.

      The setup on the device is such that I have mysite.com pointed serving a wordpress folder, files.mysite.com pointed at a nextcloud folder, and vpn.mysite.com pointed at a blank folder and has a redirect rule to 192.168.x.x:950 which I set to be the client openvpn web page. Certificates for the wordpress and nextcloud sites work perfectly, but I can't seem to make it work for the VPN.

      The post was edited 1 time, last by erreib ().

    • MedvedD wrote:

      Yes, please repair openvpn plugin for OMV4
      I don't use vpn. So, I won't be doing any work on the openvpn plugin.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.6
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • New

      nexusle wrote:

      Who is the maintainer of the OpenVPN plugin and can we ping on him here?
      There is no maintainer.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.6
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • New

      David B wrote:

      Who was the maintainer?
      hk-47 but he hasn't committed to the plugin in almost two years. subzero79 is probably the closest thing to the maintainer and I don't know if he has any desire to work on it.

      David B wrote:

      Also, what problems are people experiencing?
      It doesn't work because it is broken and incompatible. I really don't know anything more specific.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.6
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • New

      Apparently the OpenVPN repo was updated to support OMV 4, but it was not put in the OMV-Extras repo. For anyone that wants to get the OpenVPN plugin working on OMV 4, follow these instructions. I tried it and it works. These instructions assume that you're logged in to the terminal as root.

      1. apt install git fakeroot dh-make
      2. git clone https://github.com/OpenMediaVault-Plugin-Developers/openmediavault-openvpn.git
      3. cd openmediavault-openvpn/
      4. fakeroot debian/rules clean binary
      5. cd ..
      6. dpkg -i openmediavault-openvpn_4.0_all.deb
      At this point, you have a version of the OpenVPN plugin installed that works with OMV 4. If you want to clean up the files that you left behind, here are the commands to delete them.

      1. rm -rv openmediavault-openvpn
      2. rm -v openmediavault-openvpn_4.0_all.deb
    • New

      David B wrote:

      For anyone that wants to get the OpenVPN plugin working on OMV 4, follow these instructions. I tried it and it works. These instructions assume that you're logged in to the terminal as root.
      Please don't do this. I will package the plugin and put it in the testing repo.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.6
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!