January 22, 201610 yr Okay OpenVPN can start now but my laptop can't connect to it. I've done port forwarding. I'll look into it.
March 1, 201610 yr I know it are the server plugin and not the androide app but when I try to connect from my phone I get "Error parsing OpenVPN profile : mobil.ovpn: option_:error: option 'remote' must have a last 2 arguments " what do I miss
March 1, 201610 yr Did you use the "inline file" for your client sorry I are a noob to set this up I try under clients whit single files and add client and also try one in-line certificate file that are 2 way right ? and copy the files over to my phone and import the .ovpn file
March 1, 201610 yr try the inline file, that works fine on iOS are that not just that ovpn file I have make ?
March 1, 201610 yr Author Year it shall only be one file that contains everything :-) when using inline file
March 1, 201610 yr just try to make a new one it look like this can you se what I have miss "remote client dev tun proto udp port 1194 resolv-retry infinite tls-client nobind persist-key persist-tun remote-cert-tls server comp-lzo verb 3 route-delay 2 key-direction 1 <ca> -----BEGIN CERTIFICATE----- MIIDNTCCAh2gAwIBAgIJAOCawyegQrjYMA0GCSqGSIb3DQEBCwUAMBYxFDASBgNV BAMMC0Vhc3ktUlNBIENBMB4XDTE2MDMwMTE2NTczMFoXDTI2MDIyNzE2NTczMFow FjEUMBIGA1UEAwwLRWFzeS1SU0EgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw ggEKAoIBAQCl95LBCQ0vn6TZn1t35yJwxVx6c/+bjBOwbT1RIIqrGt45Bf0JWA7F aQs5xJq72bMl/WbwlhtYOgmMyvCcYsqEF9IMmGbYoKmwIHuMocsd7s+zEqWyPW6P SwztsopT23l2MJd4tlMZBaudZThQ4/v+RfVt05UGZWrzmApqmDzaDXi5RyYoL5yo VeHuNl/WKiqHsWS9YW83W5s4F8AibCSdCjdLVA2wmw4t7r5xGVT3HXbcrQBywv1D xJrPqqb+N8Mo36gBPqSv+Q/HZHT+n+R5itv7xBeH5tzbTUJWvb5G0le9CNgr1odU HH94MkrpRDJN/4RYZNQiKETgQbP4OVMbAgMBAAGjgYUwgYIwHQYDVR0OBBYEFFeA u0VxBjMl422lDMQfhaE9BkKXMEYGA1UdIwQ/MD2AFF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LFJTvbH27YQZ7BP0GXeBdJxqOa9H2p Hs7MaG11JNAINg9VgP3ehmbStkg6EHAyECs+p4gjiM6YT8pYT2UamkagqjkHWgSD 9YCVfYKRVeI8jczFKE+Wgw== -----END PRIVATE KEY----- </key> <tls-auth> -----BEGIN OpenVPN Static key V1----- ef15c844cc91a73269ebec69b9bfb1c1 398c544a49a5d1ffc6934dd24c63694a a6bcba0725efaa846aaa061ebbeca032 e5364b38bd3e0e91741deb2e120d1c19 cd999e3185ce96235ea0c24ba2bae35d 44dca3ad6581ceaa2711ed97bd06dfd1 2954f0b99e45bd603ae67d2a0c529193 42f437001eb560ee92a72e782bce71bd e37ede8ee58e039969266d065ed5319d bd4252170451b5677318663797046abe dbb9f0691af2ab5935f990693e47cc47 a9f8e4ec05e088e3784e0d6f8ce73f88 35a8a3803200e750634e2544106ceb7b 62144f96f3879feff32dea70a7cd3cf2 9c3308ec94219cdd6df47bf562b0eaba 05942500595ccdb725e1038dacc1979d -----END OpenVPN Static key V1----- </tls-auth> "
March 3, 201610 yr Author Is working?, strange that the IP was missing. The plugin should take you WAN IP and add to the user file
March 18, 201610 yr Hi, on the public beta (6.20 b18) I cannot connect to my server through ssh anymore. Could you check if this plugin maybe relies on an incompatible SSH version? For other users (without this) the beta build works fine. I can only connect over (insecure) telnet on port 23. Thank you! Fixed by deleting the config/ssh dir
April 12, 201610 yr Hello peter_sm, I'm having issues when I connect to open vpn. Whenever I connect via my phone and enter the ip of my server everything slows to a near stop. I cant access my servers ip (192.168.1.253) or any directories in it (192.168.1.253/settings), when this happens I cant get through on my phone or computer on the local network, however I still can access different ports (so all the dockers still work) on the local pc. I tried what you suggested with Tola and got the "cat: /dev/net/tun: File descriptor in bad state" message, but I'm still having these issues with openvpn. When I save the server config in the openvpn settings my console gives me these errors (even though the console gives the error, the gui shows no difference) First grep: /var/log/openvpnserver-status.log: No Such File or directory Then tun0: error fetching interface information: Device not found If I go ahead and start the vpn server anyway, the console puts this out: nohup: redirecting to stderr to stdout Again, I can still initially connect to the openvpn, and for a brief moment when I enter my servers IP i can see the unraid gui begin to load, then about halfway into the loading, everything stops and it takes so long I just end up rebooting the server. **EDIT** I forgot to mention, the same thing happens when I enter my OpenVPN servers IP. Here's a Screenshot of My VPNServer Config
April 21, 201610 yr Hi Peter, Hopefully this is an easy one. I cant seem to remove a user I have created. I thought that revoking the user would essentially delete it but it's still in the system. I tried uninstalling the plugin and re-installing but the user remains and is displayed as revoked. Whats the best way to remove and re-create users? apologies for my openvpn inexperience, I have used openvpn before on linux via webmin but am still somewhat of a noob! thanks in advance.
May 22, 201610 yr Hi Peter, Thanks for the plugin. I can't seem to get a connection to the server though. I've followed the directions, forwarded 1194 in my router to my unRAID IP (port 1194), installed the key on the client, but when I try to connect the connection is refused (error code 111). I've triple-checked that it's not my ISP or my router (I can forward 1194 to 32400 on the unRAID box without issue to access Plex). I've confirmed that the server is running according to the plugin. I'm running unRAID 6.1.9. If it's relevant, I'm not seeing a "VPN Server IP" show up on the main page for the plugin. Also, I tried running OpenVPN-AS before uninstalling it and installing your plugin instead. Any ideas?
May 22, 201610 yr Author I don't have 6.1.9 , using 6.2 beta. It might be so that 6.1.9 needs to be updated since server are OK on 6.2? Skickat från min iPhone med Tapatalk
May 22, 201610 yr Hi Peter, Hopefully this is an easy one. I cant seem to remove a user I have created. I thought that revoking the user would essentially delete it but it's still in the system. I tried uninstalling the plugin and re-installing but the user remains and is displayed as revoked. Whats the best way to remove and re-create users? apologies for my openvpn inexperience, I have used openvpn before on linux via webmin but am still somewhat of a noob! thanks in advance. Not Peter, but I recently did this by logging in to midnight commander and deleting the relevant client folders from the myVPNServer folder and/or the config folder (I can't remember). I have no idea if that's the preferred way to handle it, but it did delete the clients.
May 23, 201610 yr it was working fine for me but since the last update now for some reason tun0 is not found.
June 7, 201610 yr It looks like updating to OpenVPN packages to 2.3.11 is giving me the error: openvpn: symbol lookup error: openvpn: undefined symbol: SSL_CTX_get0_certificate Which is preventing OpenVPN server from starting up. A quick google seems to suggest that this is due to a dependancy on OpenSSL 1.0.2+. A check on my unraid 6.1.9 shows that it is using OpenSSL 1.0.1s 1 Mar 2016. Anyone have an idea on the easiest way to resolve this?
June 8, 201610 yr It looks like updating to OpenVPN packages to 2.3.11 is giving me the error: openvpn: symbol lookup error: openvpn: undefined symbol: SSL_CTX_get0_certificate Which is preventing OpenVPN server from starting up. A quick google seems to suggest that this is due to a dependancy on OpenSSL 1.0.2+. A check on my unraid 6.1.9 shows that it is using OpenSSL 1.0.1s 1 Mar 2016. Anyone have an idea on the easiest way to resolve this? Update to the latest 6.2 beta. OpenVPN 2.3.11 works fine with it. Here's the link you paste into the Plugins/Install Plugin field: https://raw.githubusercontent.com/limetech/unRAIDServer-6.2/master/unRAIDServer.plg This is the forum page for the latest release so far [Click Me], 6.2.0-beta21. It also comes with some cool new features like the option to have 2 parity drives now.
June 20, 201610 yr Thanks for your help. Is it possible to just upgrade OpenSSL? installpkg /boot/packages/openvpn-2.3.9-x86_64-1.txz Solved it for me
June 20, 201610 yr Author Easiest is to find the old packages and copy it to /boot/extra. I think these files in extra folder loads after all plugins
August 26, 20169 yr I have a user that I want to be able to connect to my VPN server but only get access to the internal network and not my external so he keeps his own IP when doing stuff online. How do I configure this for this user alone? I have another user that needs to be able to access my external network with my IP range so I can not just turn the feature off. Sorry for the bad explanation.
Archived
This topic is now archived and is closed to further replies.