Ryonez Posted January 4, 2019 Share Posted January 4, 2019 6 hours ago, Aluavin said: I know how to find the flash drive I want to minimize the read access to this one. that's why I want to move those .ovpn files to my SSD. Ahh. I'd imagine they'd only be read when the connection is started. Shifting them off the flash wouldn't give any real benefit I think.. Quote Link to comment
blurp76 Posted January 8, 2019 Share Posted January 8, 2019 Small problem, on my unraid v6.6.6 the Server Config tab shows nothing.. VPN is working though. Tried to investigate with Chrome and found these errors. How to solve? Quote Link to comment
clowrym Posted January 22, 2019 Share Posted January 22, 2019 (edited) Just upgraded to 6.7.0-rc1, for some reason I can't start my plugin anymore, the following is all the entries I see in the Logs Jan 22 11:19:01 Test ool www[18957]: /usr/local/emhttp/plugins/openvpnserver/scripts/rc.openvpnserver 'start' Jan 22 11:19:01 Test sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=root ; COMMAND=/usr/sbin/openvpn --writepid /var/run/openvpnserver/openvpnserver.pid --config /mnt/cache/appdata/OpenVPN/openvpnserver.ovpn --script-security 2 --daemon Also found: openvpn: error while loading shared libraries: libcrypto.so.l: cannot open shared object file: No such file or directory Edited January 22, 2019 by clowrym Quote Link to comment
alturismo Posted January 22, 2019 Share Posted January 22, 2019 +1 here system log ends like this Jan 22 18:47:59 AlsServer root: Starting OpenVPN Server Jan 22 18:47:59 AlsServer root: Starting Openvpn server..... Jan 22 18:48:00 AlsServer avahi-daemon[10878]: Service "AlsServer" (/services/ssh.service) successfully established. Jan 22 18:48:00 AlsServer avahi-daemon[10878]: Service "AlsServer" (/services/smb.service) successfully established. Jan 22 18:48:00 AlsServer avahi-daemon[10878]: Service "AlsServer" (/services/sftp-ssh.service) successfully established. Jan 22 18:48:00 AlsServer sudo: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/openvpn --writepid /var/run/openvpnserver/openvpnserver.pid --config /mnt/cache/appdata/myVPNserver/openvpnserver.ovpn --script-security 2 --daemon Jan 22 18:48:01 AlsServer root: An error occurred, server not started!. More info in /var/log/openvpnserver.log or /var/local/emhttp/plugins/openvpnserver/openvpnserver.out in the openvpnserver.out penvpn: error while loading shared libraries: libcrypto.so.1: cannot open shared object file: No such file or directory Quote Link to comment
eschultz Posted January 22, 2019 Share Posted January 22, 2019 29 minutes ago, clowrym said: Just upgraded to 6.7.0-rc1, for some reason I can't start my plugin anymore, the following is all the entries I see in the Logs Jan 22 11:19:01 Test ool www[18957]: /usr/local/emhttp/plugins/openvpnserver/scripts/rc.openvpnserver 'start' Jan 22 11:19:01 Test sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=root ; COMMAND=/usr/sbin/openvpn --writepid /var/run/openvpnserver/openvpnserver.pid --config /mnt/cache/appdata/OpenVPN/openvpnserver.ovpn --script-security 2 --daemon Also found: openvpn: error while loading shared libraries: libcrypto.so.l: cannot open shared object file: No such file or directory This plugin will need to upgrade to using the openvpn-2.4.6-x86_64-2 package since it is compiled to work with the newer versions of openssl. The legacy version of openssl (libcrypto.so) was removed in 6.7.0-rc1. Quote Link to comment
thedman Posted January 24, 2019 Share Posted January 24, 2019 Same issue after upgrading. Any idea when the plugin might be upgraded? Quote Link to comment
gacpac Posted January 28, 2019 Share Posted January 28, 2019 On 1/24/2019 at 4:26 PM, thedman said: Same issue after upgrading. Any idea when the plugin might be upgraded? Oh shit, I should have read this post before upgrading to the new version. I'm uninstalling to try it again Quote Link to comment
tr0910 Posted January 28, 2019 Share Posted January 28, 2019 I was just about to reboot my server after upgrading to 6.7rc2 when I saw this. OpenVPN is required for me. I will postpone this reboot now, possibly for a long time........ Quote Link to comment
itimpi Posted January 28, 2019 Share Posted January 28, 2019 4 hours ago, tr0910 said: I was just about to reboot my server after upgrading to 6.7rc2 when I saw this. OpenVPN is required for me. I will postpone this reboot now, possibly for a long time........ If use the docker based versions then they are not affected by this upgrade as they are isolated from host OS changes.. Thought I should mention it in case this plugin never gets updated Quote Link to comment
peter_sm Posted January 28, 2019 Author Share Posted January 28, 2019 (edited) I fix this if I got time soon.... you can always DL the latest package and install it from the extra folder? Not sure if I shall priorities this? need to work and earn money Edited January 28, 2019 by peter_sm 1 Quote Link to comment
clowrym Posted January 28, 2019 Share Posted January 28, 2019 39 minutes ago, peter_sm said: I fix this if I got time soon.... you can always DL the latest package and install it from the extra folder? Not sure if I shall priorities this? need to work and earn money I didint think of this... Done, installed, confirmed working & set up a script to re-install it after reboot. Quote Link to comment
vitis Posted January 28, 2019 Share Posted January 28, 2019 On 10/15/2018 at 10:59 PM, vitis said: Hello, I have installed the client and I am having issues while connecting. I have a working unified ovpn profile and also ovpn/cert/ca - both verified and working. But when I am trying to connect with this Unraid client, the plugin inserts 10 lines saying "dev tap5" to my ovpn profile and that breaks it, so it does not work. Has anybody encountered this problem? You can see part of the ovpn profile below. ############################################## # Sample client-side OpenVPN 2.0 config file # dev tap5 # for connecting to multi-client server. # dev tap5 # # # This configuration can be used by multiple # # clients, however each client should have # dev tap5 # its own cert and key files. # # # # On Windows, you might want to rename this # # file so it has a .ovpn extension # ############################################## # Specify that we are a client and that we dev tap5 # will be pulling certain config file directives # from the server. client dev tap5 I just wanted to let you know that I solved this issue. I was using a template config file, which had a lot of examples and commented lines and I guess that the plugin could not handle this while inserting it's own stuff to it. I downloaded PIA's ovpn files which worked, so I changed my files to look alike the PIA ones and then it started working. It is not really a fix, it's just a workaround. Quote Link to comment
ximian Posted January 28, 2019 Share Posted January 28, 2019 1 hour ago, clowrym said: I didint think of this... Done, installed, confirmed working & set up a script to re-install it after reboot. Care to share ... what exactly did you re-install? How (Command line, apps ....) Thanks. Quote Link to comment
trurl Posted January 28, 2019 Share Posted January 28, 2019 2 hours ago, peter_sm said: you can always DL the latest package and install it from the extra folder 1 hour ago, clowrym said: I didint think of this... Done, installed, confirmed working & set up a script to re-install it after reboot. If you put it in a folder named "extra" on flash it will be automatically re-installed on boot, no script required. That method isn't discussed a lot these days with all the plugins and dockers we have for additional functionality, but that is how it was done on older versions of Unraid. Any slackware compatible package (.txz .tgz) in the "extra" folder on the flash drive is installed with the installpkg command when Unraid boots. Use this technique sparingly. It may not be supported and it is easy to get yourself in trouble by installing packages that conflict with other packages installed by your plugins. Quote Link to comment
clowrym Posted January 28, 2019 Share Posted January 28, 2019 (edited) 11 minutes ago, ximian said: Care to share ... what exactly did you re-install? How (Command line, apps ....) Thanks. Downloaded THIS, placed in the /boot/extra folder & added a script to run after start of array. #!/bin/bash cd /boot/extra installpkg openvpn-2.4.6-x86_64-2.txz I tried just adding it to the extra folder and rebooting, but it still installed the older version requiring me to do an installpkg after..... Edited January 28, 2019 by clowrym 1 Quote Link to comment
trurl Posted January 28, 2019 Share Posted January 28, 2019 2 minutes ago, clowrym said: I tried just adding it to the extra folder and rebooting, but it still installed the older version requiring me to do an installpkg after..... Did you remove the plugin? If not that is probably where the old version came from. Quote Link to comment
clowrym Posted January 28, 2019 Share Posted January 28, 2019 (edited) 1 hour ago, trurl said: Did you remove the plugin? If not that is probably where the old version came from. no...... I wasn't sure if I removed petersm's plugin if it would affect the UI Edited January 28, 2019 by clowrym Quote Link to comment
tr0910 Posted January 28, 2019 Share Posted January 28, 2019 3 hours ago, peter_sm said: I fix this if I got time soon.... you can always DL the latest package and install it from the extra folder? Not sure if I shall priorities this? need to work and earn money We await your fix at your convenience. The docker is ok, but Peter's plugin is better. His works even if the array is stopped. If Peters Open-vpn plugin is important to you wait on installing 6.7 for a bit. It will get fixed. 1 Quote Link to comment
Pim Bliek Posted January 30, 2019 Share Posted January 30, 2019 Hi. I have installed your plugin on the latest Unraid stable version. It works fine, however when the server is rebooted I cannot connect to openvpnserver. I have to manually restart the openvpnserver in the plugin config webpage or from the commandline. This issue is reproducable after every reboot. How can I fix this? Quote Link to comment
peter_sm Posted February 9, 2019 Author Share Posted February 9, 2019 Both plugins are now updated. //Peter 1 Quote Link to comment
n4152394 Posted February 9, 2019 Share Posted February 9, 2019 super merci good Quote Link to comment
Taddeusz Posted February 10, 2019 Share Posted February 10, 2019 I just installed on my server. I'm trying to get a good client configuration. If I configure with Adaptive compression my Mac complains that LZO compression is deprecated but works fine on both Mac and my iOS devices. If I select LZ4 compression it works fine on my Mac but my iOS devices connect but can't seem to communicate. If I select no compression iOS works fine but my Mac Tunnelblick complains that the ovpn file has unrecognized options or missing parameters. What to do? I'm actually switching from linuxserver.io's Docker. In that configuration I have compression disabled but it works fine. 1 Quote Link to comment
Taddeusz Posted February 10, 2019 Share Posted February 10, 2019 If I use the official OpenVPN Connect on my Mac and use the profile without compression I get "TRANSPORT_ERROR". Quote Link to comment
peter_sm Posted February 10, 2019 Author Share Posted February 10, 2019 3 hours ago, Taddeusz said: I just installed on my server. I'm trying to get a good client configuration. If I configure with Adaptive compression my Mac complains that LZO compression is deprecated but works fine on both Mac and my iOS devices. If I select LZ4 compression it works fine on my Mac but my iOS devices connect but can't seem to communicate. If I select no compression iOS works fine but my Mac Tunnelblick complains that the ovpn file has unrecognized options or missing parameters. What to do? I'm actually switching from linuxserver.io's Docker. In that configuration I have compression disabled but it works fine. Adaptive works on my iOS-12 devices. LZ4 not on iOS-12 devices, was OK previously iOS Something have been broken in iOS-12 ?? Google it and there is a lot of discussion... Check OpenVPN forum for solutions Quote Link to comment
blurp76 Posted February 18, 2019 Share Posted February 18, 2019 I'm trying to assign static IP addresses to VPN clients, how to add client-config-dir do server configuration? or is there some other way to accomplish this? Quote Link to comment
Recommended Posts
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.