October 17, 20197 yr The VPN Client Plug-in GUI under SETTINGS/Network 90% of the time when it has this issue you can't get into it to stop and restart it. You need to stop the array and then start it again. (Assuming you have the setting to stop the VPN when the ARRAY is stopped.) Edited October 17, 20197 yr by David Bott
October 17, 20197 yr The VPN Client Plug-in GUI under SETTINGS/Network 90% of the time when it has this issue you can't get into it to stop and restart it. You need to stop the array and then start it again. (Assuming you have the setting to stop the VPN when the ARRAY is stopped.)I've never experienced it but I'll keep an eye out. I've only had this client running for a few weeks but am nervous about what would happen if it goes out and i don't know. How do you know it goes out? Is there a setting to notify you that I missed? Sent from my LM-V405 using Tapatalk
October 17, 20197 yr As I mentioned, I only KNOW when I happen to notice a TV show I expected to come down has not. "hummm....Where is X show? It was on 3 nights ago." So I go and look at Sonnar and see that it was missed along with everything else from X point in time. At that point you realize nothing running on the UnRAID server can reach the internet as the Plug-in has crashed. You can make it happen. Just go unplug your router for about 15 mins. (Not sure on how much time it needs to fail though.) Then plug it back in. Your phones and computers have Internet just fine...But check the UnRAID server and see if you can reach the Internet even for plugin update or docker update checks. Nope. Nothing. Try then going into the SETTINGS/NETWORK/OPEN VPN and see if you can get to it. Usually when it happens I can't. However the default setting is to close it out if you stop the array...So if you do that, and then restart the array, it will all then just work again. (until the next time you loose internet for some reason.)
October 21, 20197 yr Kind of surprised that there has been no reply. So I am guessing this plugin is not really supported any longer which is a shame it was was imple to setup and it just worked. (Unless, as I mentioned, you loose internet then it all goes down. ) I am surprised that not one has mentioned this or has not suggested a fix or work around. Is there something else that people are using to send the Docket traffic through a VPN provider? Thanks
October 21, 20197 yr 1 hour ago, David Bott said: Is there something else that people are using to send the Docket traffic through a VPN provider? Yes, @binhex has a full lineup of VPN enabled containers.
October 21, 20197 yr Thank you, I will need to see if @binhex has anything that does a OpenVPN client for server. All I need is what this one did...Just let the dockers go though the VPN I have told the server to go through. (Client mode needed more or less.) Update...Does not look like it. But he does have things that have VPN built in. This one does it for all of the server. Edited October 21, 20197 yr by David Bott
October 22, 20197 yr Author 22 hours ago, David Bott said: Thank you, I will need to see if @binhex has anything that does a OpenVPN client for server. All I need is what this one did...Just let the dockers go though the VPN I have told the server to go through. (Client mode needed more or less.) Update...Does not look like it. But he does have things that have VPN built in. This one does it for all of the server. Can this be something try for the killswitch ?
October 22, 20197 yr I had issues getting this to work also, so I moved away from it and found dockers with VPN built in. There is also another option I was running for a bit and that was a VM just for vpn and pointed the dockers to that connection. Search for "Spaceinvader One" on youtube he has a lot of good videos. Here is the one on a vpn vm: But here is another option from him I just seen that might help also (Have not tried it).
October 22, 20197 yr @peter_sm - Not really looking for a KILL SWITCH. Looking for something that sees the network is down and restarts it. Right now if this OPENVPN Client looses internet, everything stops. POOF. No way to know it unless you look as to why things you expect to happen are not. @almulder - Thanks...But I can't run a VM on my box and the second one reads SERVER. This is is CLINET connection.
October 24, 20196 yr @peter_sm How can I remove this? I attempted to install via the Community Applications, however it failed with Warning: file_put_contents(): Only 0 of 1 bytes written, possibly out of free disk space in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 299 plugin: unable to create file: /var/log/plugins/openvpnserver But it's still partially installed (I have "OpenVPN Server TUN mode" in my Settings page now, which is non-functional) and does not show up under Plugins, so I can't remove it! Edited October 26, 20196 yr by kronflux Help!
October 24, 20196 yr @peter_sm Someone asked me via chat about this... Hey David - Have you seen this? I haven't been able to try it out - https://forums.openvpn.net/viewtopic.php?t=8062 It is in regards to OpenVPN and reconnecting using "keepalive" and "ping-restart" options etc...From the above post... "...if the connection is already established and the tunnel goes down then openvpn will try to reconnect as long as things like 'keepalive' or 'ping-restart' are set, as well as 'persist-key' and authentication caching." So...There is a openvpnclient.cfg file located on the flash drive under /config/plugins/openvpnclinet as you know, however there are no such settings other than what is in the main setup of the plugin GUI... USER="whatever" PASS="whatever" START_ON_MOUNT="yes" PLG_EXT="no" PLG_PASSWORD="yes" OVPNCHOOSE="/boot/openvpn/dal-a04.ovpn" DISCONNECT_ON_UMOUNT="yes" So not sure how we could use "keepalive" and "ping-restart" etc as we have no setting for it to pass such options. Can you maybe look into such options as it may be all that is missing. As mention, this plugin works great...until you loose internet for X amount of time then the server no longer has internet. So we just need a way for it to check itself and this may be just the ticket. Can you be of help? Thanks Edited October 24, 20196 yr by David Bott
October 26, 20196 yr Author keepalive what I know is a server function. But try to add these to the ovpn file saved on /boot/openvpn and see if it helps
October 26, 20196 yr 6 hours ago, peter_sm said: keepalive what I know is a server function. But try to add these to the ovpn file saved on /boot/openvpn and see if it helps @peter_sm Thanks for the thought of modifying the actual openvpn server file you want to use. Before I tried that I took a closer look at the connection log, via your plug-in, and did see this line... Sat Oct 26 07:36:18 2019 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 198.18.0.1,dhcp-option DNS 198.18.0.2,rcvbuf 493216,sndbuf 493216,explicit-exit-notify 5,comp-lzo no,route-gateway 172.21.92.1,topology subnet,ping 20,ping-restart 40,ifconfig 172.21.92.25 255.255.254.0,peer-id 0,cipher AES-256-GCM' ...so it seems that ping and ping-restart are part of it yet does not seem to solve the issue. BTW... I did also try adding the lines to the file to different settings, but after stopping and starting the OPENVPN client again, the same values showed up in the log. So it does not seems to be part of that file. So not sure where these settings are being set from as it dies not seem to be the server.ovpn files. I did happen to notice also that it reads... Sat Oct 26 07:36:17 2019 OpenVPN 2.4.6 x86_64-slackware-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on May 7 2018 Sat Oct 26 07:36:17 2019 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 ...wondering if i does not need to be updated? (It may be current for all I know.) Otherwise the plug-in does just perfect for what I wanted. Something that puts my UnRAID internet traffic through a VPN and it does that. Even updates for docker files or plugins all use the VPN. But the issue is, once you loose internet for X amount of time, it will not redo the tunnel and your entire server does not have access to the Internet. (You can still reach it from inside the network of course.) The GUI also stops working. (Side note....At least on mine, when I choose to STOP the OpenVPN service the says Stopping but then the screen becomes empty from the UnRaid Menu bar down. You need to click on SETTINGS and the OPENVPN Client option again to go back in and see if it stopped. No biggie...but just a heads up.) But the big thing is it not coming back up. Sometimes I may not notice for days and have things stacked up to come down. If you may care to look into this, I am happy to test. If not, I understand as it has not been touched in some time but is really the open option I have found that does the server as a client in one easy to setup, understand, and use plug-in. You also mentioned "keepalive what I know is a server function" ... Just don't seem to see a setting for that anywhere. Thank you again.
December 1, 20196 yr On 10/9/2019 at 7:04 AM, vampyre_masquerade said: So please correct me if i'm incorrect. OpenVPN Client Plugin for Unraid can not be used as a gateway for LAN traffic. I'm guessing it can only be used for Docker traffic and maybe Unraid traffic? As far as i see when enabled it will route *all* the unraid traffic trough the VPN. As you i've been looking around like a maniac for a container actiong as a VPN Gateway but without any luck (also in hub.docker.com there's none). My solution has been to make up a VM with ubuntu server and configure it as a VPN Gateway. Wasted resources but i really don't have the time to study how to build a container to do the same job. C.
December 7, 20196 yr Hi, Thx for the great Plugin, maybe you can add an Option to switch between Tun and Tap mode. I create a fork on Github with ethernet bridging istead tun. https://raw.githubusercontent.com/DeBaschdi/openvpnserver/master/openvpn_server_x64.plg ofcourse, it was an speed mod, lot of thinks can be done better... Lg Edited December 7, 20196 yr by DeBaschdi
December 8, 20196 yr Author Hi, Thx for the great Plugin, maybe you can add an Option to switch between Tun and Tap mode. I create a fork on Github with ethernet bridging istead tun. https://raw.githubusercontent.com/DeBaschdi/openvpnserver/master/openvpn_server_x64.plg ofcourse, it was an speed mod, lot of thinks can be done better... LgWe might make the plugin support both ? I have no way to verify TAP. And my time is limit for time being. Good work !Skickat från min iPhone med Tapatalk
December 13, 20196 yr I'm using the Server plugin (Great work btw! Love it :D) I'm trying to connect multiple devices with one profile, which needs the "--duplicate-cn" option. However I can't figure out how to enable this feature, neighter command line nor web-interface.
December 15, 20196 yr Sorry guys, but i can't find the boot folder for the ovpn File as described in the first post. On my unraid Server the only boot folder is on flash/EFI-/boot
December 15, 20196 yr 3 hours ago, cogliostro said: Sorry guys, but i can't find the boot folder for the ovpn File as described in the first post. On my unraid Server the only boot folder is on flash/EFI-/boot Try putting it in the openvpn folder on the root of the flash drive (create the folder if necessary)
December 18, 20196 yr Hello! Before I say anything, I should preface my message with the fact that I'm new to UnRaid and server hardware/networking as a whole. I do have some experience with home networking and consumer hardware, but nothing that would probably help me in this case. I recently installed the OpenVPN Client Plugin to help with anonymizing torrent traffic for my dockers (via TorGuard VPN Providor), and while it works, it is limiting my DL speeds HEAVILY. While I know using a VPN will affect speeds to an extent, this seems abnormally slow. My downloads via QBittorrent seem to be limited to a max speed of 1MB/s total when using the plugin. Without it, I get up to my normal 12MB speeds (sometimes higher depending on the hour). This affects all my torrent clients and sab as well. I've done some preliminary testing as shown with the attached files below (i've also attached my diagnostics in case that is useful): I've done VM testing (whose traffic I've learned is not affected by the plugin. All traffic seems to come through with my ISP's IP. This is actually pretty cool as I only want my dockers affected anyways), both with, and without the TorGuard client and built-in OpenVPN client (using generated files). The speeds, while a little slower than my desktop speeds, are still well above the speeds I get with the server plugin and dockers. I've also tried testing on my desktop. As you can see, both with the client and without, the speeds are high, so it seems to be related either to the docker or the plugin itself. I've changed ciphers as well, trying all of CBC and GCM (GCM seems to perform better, but I'm still locked under that artificial 1MB cap) as well as trying different servers. I also attempted opening ports via my VPN just to test, but it made no difference (I should mention that none of these tests were done with opened ports. My normal speeds of 12 and excess are typically done without needing to forward anything at all). All of this is going through my LAN. When I did my testing, I made sure nothing was downloading, and that only one client at a time was attached (though I should be able to connect up to 8 devices concurrently if I remember correctly). Before admitting defeat and just running a VM for all of my torrenting, I'd like to see if I can continue usage with the dockers for performance reasons. Unfortunately, I haven't been able to find any specific reason as to why this is happening. Any help would be greatly appreciated. Thank you! tower-diagnostics-20191218-1657.zip
December 19, 20196 yr 1 hour ago, deathscreton said: Before admitting defeat and just running a VM for all of my torrenting There are some torrent dockers with builtin VPN. Search on the Apps page.
December 19, 20196 yr 8 minutes ago, trurl said: There are some torrent dockers with builtin VPN. Search on the Apps page. Hello! So that was actually my go-to when I setup UnRaid, however, the VPN Binhex included with the dockers was not compatible with my TorGuard configuration. Binhex warned that this may be the case and that not all providers would be compatible. I was unable to find anyone with a similar setup.
December 19, 20196 yr These are some awesome plugins. That I am just now discovering. I am running into an issue that the openvpn server won't start. I don't know if it is my config or if I am just missing the start button. I am running unraid 6.8 appreciate the work on this plugin look forward to seeing it work.
December 19, 20196 yr 1 hour ago, blinside995 said: I am running unraid 6.8 appreciate the work on this plugin look forward to seeing it work. Since 6.8 includes Wireguard, I wouldn't expect a whole lot of attention being paid to these plugins in the future.
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.