peter_sm Posted April 11, 2018 Author Share Posted April 11, 2018 2 hours ago, ideaman924 said: Running the first command: root@derrickserver:~# /etc/rc.d/rc.openvpnserver restart Stoping Openvpnserver..... ... Stopped Deleting iptables rule .... Starting Openvpn server..... nohup: redirecting stderr to stdout OK... Started Adding iptables rule ..... br0 11 0 0 MASQUERADE all -- * br0 10.8.0.0/24 0.0.0.0/0 root@derrickserver:~# Running the second command took a long time, but eventually: root@derrickserver:~# /etc/rc.d/rc.openvpnserver getonlineversion root@derrickserver:~# So something's going funky with the second one. What's going on? Second one was an unused function, this is now removed in latest update. Please try and let me know :-) Quote Link to comment
Guest Posted April 11, 2018 Share Posted April 11, 2018 (edited) 8 hours ago, peter_sm said: Second one was an unused function, this is now removed in latest update. Please try and let me know :-) Update worked like a charm, it now loads correctly. Thank you so much! EDIT: I realized why it didn't work. I looked at your commit, and the function calls the OpenVPN site. China blocks all VPN sites and sends a TCP RST packet to the script, so it'll keep retrying until eventually timing out. Just in case you were wondering why that function stopped my specific use case. Thank you for fixing it! Edited April 11, 2018 by Guest Quote Link to comment
mostlydave Posted April 12, 2018 Share Posted April 12, 2018 (edited) I'm getting the following in my log and a connection timeout on the ios client: Thu Apr 12 10:51:14 2018 111.111.11.11:3187 OpenSSL: error:140890C7:SSL routines:ssl3_get_client_certificate:peer did not return a certificate Thu Apr 12 10:51:14 2018 111.111.11.11:3187 TLS_ERROR: BIO read tls_read_plaintext error Thu Apr 12 10:51:14 2018 111.111.11.11:3187 TLS Error: TLS object -> incoming plaintext read error Thu Apr 12 10:51:14 2018 111.111.11.11:3187 TLS Error: TLS handshake failed Thu Apr 12 10:51:14 2018 111.111.11.11:3187 SIGUSR1[soft,tls-error] received, client-instance restarting I'm not sure what I have wrong or how to troubleshoot from here Edited April 12, 2018 by mostlydave IP changed for safety Quote Link to comment
Guest Posted April 12, 2018 Share Posted April 12, 2018 @peter_sm, I just created a PR on GitHub to disable "explicit-exit-notify" for TCP connections. You can find it here: https://github.com/petersm1/openvpnserver/pull/1 The reason is being, OpenVPN doesn't support the parameter on TCP connections (it's UDP only.) Therefore, I get this error: Options error: --explicit-exit-notify can only be used with --proto udp Use --help for more information. The commit might have typos or some other weird stuff in it so please test it before merging. Cheers! Quote Link to comment
mostlydave Posted April 17, 2018 Share Posted April 17, 2018 On 4/12/2018 at 10:55 AM, mostlydave said: I'm getting the following in my log and a connection timeout on the ios client: Thu Apr 12 10:51:14 2018 111.111.11.11:3187 OpenSSL: error:140890C7:SSL routines:ssl3_get_client_certificate:peer did not return a certificate Thu Apr 12 10:51:14 2018 111.111.11.11:3187 TLS_ERROR: BIO read tls_read_plaintext error Thu Apr 12 10:51:14 2018 111.111.11.11:3187 TLS Error: TLS object -> incoming plaintext read error Thu Apr 12 10:51:14 2018 111.111.11.11:3187 TLS Error: TLS handshake failed Thu Apr 12 10:51:14 2018 111.111.11.11:3187 SIGUSR1[soft,tls-error] received, client-instance restarting I'm not sure what I have wrong or how to troubleshoot from here No one has seen this error or knows how to troubleshoot? Quote Link to comment
peter_sm Posted April 17, 2018 Author Share Posted April 17, 2018 No one has seen this error or knows how to troubleshoot?Hi , have you looked at OpenVPN forum for help ? What you also could do is to post your server & client setting and what’s client software/version you have .Skickat från min iPhone med Tapatalk Quote Link to comment
karateo Posted May 30, 2018 Share Posted May 30, 2018 On 3/22/2018 at 4:59 PM, huffsper said: There's your problem. unRAID itself cannot access containers that have their own static IP. Is there any workaround so we can use this plugin and see containers with own IPs? (router redirect for example?) Quote Link to comment
SauRoN Posted June 12, 2018 Share Posted June 12, 2018 I'm sure this was probably asked already but can't seem to get it via search. Is it possible Gateway via UnRAID (and in turn the OpenVPN tunnel) from another device on the network? Quote Link to comment
waschlack_05 Posted June 24, 2018 Share Posted June 24, 2018 I have installed your client and I've set it up to choose a config file, but where do i actually need to paste my .opvn configuration file? Quote Link to comment
peter_sm Posted June 24, 2018 Author Share Posted June 24, 2018 I have installed your client and I've set it up to choose a config file, but where do i actually need to paste my .opvn configuration file? Hi, there is info on first post, please have look. Quote Link to comment
Ashe Posted June 30, 2018 Share Posted June 30, 2018 Hi Peter Just a heads up that iOS seems to prefer a *.ovpn12 file now rather than the *.p12 file. No problem with renaming the generated *.p12 file and it then imports fineSent from my iPhone using Tapatalk 1 Quote Link to comment
BeaverTerror Posted August 27, 2018 Share Posted August 27, 2018 (edited) Hi Peter, I live in China and am having the same problem that ideaman924 had back in April, except with the Client plugin. When I try to open the settings page, all I get is the unraid interface header with a blank page below. Any solutions for this? The server app works fine. Thanks. Edited August 27, 2018 by BeaverTerror Quote Link to comment
uraid Posted September 7, 2018 Share Posted September 7, 2018 Hi Peter, Great plugin! Thanks for your work. Is there an easy way to block LAN access without using iptables? Quote Link to comment
Lorenz Posted September 19, 2018 Share Posted September 19, 2018 On 5/30/2018 at 9:48 AM, karateo said: Is there any workaround so we can use this plugin and see containers with own IPs? (router redirect for example?) I'm having the same issue. Is there a solution to this? @peter_sm Quote Link to comment
QPlus7 Posted September 20, 2018 Share Posted September 20, 2018 (edited) Has anyone run into an issue where the OpenVPN configuration completely disappears? I've had this happen twice now and am wondering if I should just look for another solution. I am running unRAID 6.3.5. Any help is greatly appreciated - thanks in advance! Edited September 20, 2018 by QPlus7 Quote Link to comment
QPlus7 Posted September 20, 2018 Share Posted September 20, 2018 38 minutes ago, QPlus7 said: Has anyone run into an issue where the OpenVPN configuration completely disappears? I've had this happen twice now and am wondering if I should just look for another solution. I am running unRAID 6.3.5. Any help is greatly appreciated - thanks in advance! I just updated OpenVPN and unRAID and guess what happened? Yup! My configuration is completely gone again. Three strikes and you're out? Quote Link to comment
itimpi Posted September 20, 2018 Share Posted September 20, 2018 12 hours ago, QPlus7 said: I just updated OpenVPN and unRAID and guess what happened? Yup! My configuration is completely gone again. Three strikes and you're out? I use the Openvpn-as server as a docker container (rather than the openvpn plugin) and have not had any problem with my configuration surviving updates. Quote Link to comment
Xaero Posted October 8, 2018 Share Posted October 8, 2018 How would one go about setting this up for TAP mode instead of TUN? I have tried every setting in TUN mode and cannot get hostname resolution and samba to perform correctly. For example I can type \\<unraid>\share and it does not work, but \\<ip>\share does. However in browsers where HTTP requests are made http://unraid/ works fine since they are going through the DNS. I figure this is only possible via TAP mode? Quote Link to comment
alturismo Posted October 10, 2018 Share Posted October 10, 2018 may a simple question but i couldnt find an info abut it here im using currently binhex deluge vpn for the privoxy feature, as i dont use deluge ot bittorrent my question would be can this vpn plugin used as vpn proxy only without putting the whole server behind the vpn ? my usercase are just some apps using a proxy. thanks ahead for an info Quote Link to comment
sse450 Posted October 13, 2018 Share Posted October 13, 2018 Unraid 6.6.1 here. OpenVPN client plugin not working somehow. Start button tries to start, but the page becomes blank and browser keeps trying to connect. Perhaps, the plugin needs an update, but github repo of peter_sm doesn't exist anymore. Quote Link to comment
Squid Posted October 13, 2018 Share Posted October 13, 2018 4 minutes ago, sse450 said: but github repo of peter_sm doesn't exist anymore petersm1 Quote Link to comment
sse450 Posted October 14, 2018 Share Posted October 14, 2018 16 hours ago, Squid said: petersm1 I had quoted it in my post as the nick. I know that github repo link has "petersm1". Still, Peter's repo is not available anymore as given in the first post. Do I have any other option for OpenVPN client in Unraid? Quote Link to comment
Squid Posted October 14, 2018 Share Posted October 14, 2018 4 hours ago, sse450 said: Still, Peter's repo is not available Not quite sure what you mean though. https://github.com/petersm1/openvpn_client_x64 And the plugin file (which is the only url listed in the OP) does install perfectly fine through the Apps tab. (But I don't run a VPN that unRaid needs to connect to) 4 hours ago, sse450 said: Do I have any other option for OpenVPN client in Unraid? Doesn't look like it to attach the unRaid to a VPN network. There are however VPN versions of the various "shady" apps to be able to connect to individually. Quote Link to comment
sse450 Posted October 14, 2018 Share Posted October 14, 2018 4 hours ago, Squid said: Not quite sure what you mean though. https://github.com/petersm1/openvpn_client_x64 And the plugin file (which is the only url listed in the OP) does install perfectly fine through the Apps tab. (But I don't run a VPN that unRaid needs to connect to) I am sorry. I tried the link in the first post which is broken. The one you supplied works. I am trying to establish ssh link (without opening ssh port on router) to my second Unraid on a different location for backup purposes. Hence, I am after a VPN connection between 2 Unraid boxes. Quote Link to comment
alturismo Posted October 15, 2018 Share Posted October 15, 2018 may a simple question, what would be to change if i want LAN traffic only through VPN ? whatever redirect option i choose, always complete traffic is through VPN. for an tip, thanks ahead. 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.