JonathanM Posted August 18, 2016 Share Posted August 18, 2016 However, the connection to the server through OpenVPN was capped at 2Mbps, resulting in a choppy playback of any video, even ones that were only a few hundred megabytes. My server has a Gigabit NIC, and my connection to the outside world is 100Mbps. Below is a diagram Server <----1000Mbps Gigabit NIC ----> Home Router <---- 100Mbps --> Internet <--- 25Mbps ----> Nexus 5X LTE connection However, OpenVPN speed is capped at 2Mbps. Do you have symmetric 100Mbps at your home? Most US internet connections are asymmetric, and offer much lower transmit than receive speeds. Try running a speed benchmark (speedtest.net) behind your home router to check what speed you are actually able to transmit. Quote Link to comment
highway Posted August 19, 2016 Share Posted August 19, 2016 However, the connection to the server through OpenVPN was capped at 2Mbps, resulting in a choppy playback of any video, even ones that were only a few hundred megabytes. My server has a Gigabit NIC, and my connection to the outside world is 100Mbps. Below is a diagram Server <----1000Mbps Gigabit NIC ----> Home Router <---- 100Mbps --> Internet <--- 25Mbps ----> Nexus 5X LTE connection However, OpenVPN speed is capped at 2Mbps. Do you have symmetric 100Mbps at your home? Most US internet connections are asymmetric, and offer much lower transmit than receive speeds. Try running a speed benchmark (speedtest.net) behind your home router to check what speed you are actually able to transmit. I am having a really similar issue, if we can solve it, a beer is all yours. Any help or ideas would be appreciated... Do you think this applies?? http://winaero.com/blog/speed-up-openvpn-and-get-faster-speed-over-its-channel/ Thanks again. Quote Link to comment
peter_sm Posted August 19, 2016 Author Share Posted August 19, 2016 However, the connection to the server through OpenVPN was capped at 2Mbps, resulting in a choppy playback of any video, even ones that were only a few hundred megabytes. My server has a Gigabit NIC, and my connection to the outside world is 100Mbps. Below is a diagram Server <----1000Mbps Gigabit NIC ----> Home Router <---- 100Mbps --> Internet <--- 25Mbps ----> Nexus 5X LTE connection However, OpenVPN speed is capped at 2Mbps. Do you have symmetric 100Mbps at your home? Most US internet connections are asymmetric, and offer much lower transmit than receive speeds. Try running a speed benchmark (speedtest.net) behind your home router to check what speed you are actually able to transmit. I am having a really similar issue, if we can solve it, a beer is all yours. Any help or ideas would be appreciated... Do you think this applies?? http://winaero.com/blog/speed-up-openvpn-and-get-faster-speed-over-its-channel/ Thanks again. Can you manually add this to server ovpn file and to the client file and test? //Peter Quote Link to comment
peter_sm Posted August 19, 2016 Author Share Posted August 19, 2016 However, the connection to the server through OpenVPN was capped at 2Mbps, resulting in a choppy playback of any video, even ones that were only a few hundred megabytes. My server has a Gigabit NIC, and my connection to the outside world is 100Mbps. Below is a diagram Server <----1000Mbps Gigabit NIC ----> Home Router <---- 100Mbps --> Internet <--- 25Mbps ----> Nexus 5X LTE connection However, OpenVPN speed is capped at 2Mbps. Do you have symmetric 100Mbps at your home? Most US internet connections are asymmetric, and offer much lower transmit than receive speeds. Try running a speed benchmark (speedtest.net) behind your home router to check what speed you are actually able to transmit. I am having a really similar issue, if we can solve it, a beer is all yours. Any help or ideas would be appreciated... Do you think this applies?? http://winaero.com/blog/speed-up-openvpn-and-get-faster-speed-over-its-channel/ Thanks again. Try also modify only the server ovpn file with this lines. sndbuf 0 rcvbuf 0 push "sndbuf 393216" push "rcvbuf 393216" Quote Link to comment
highway Posted August 23, 2016 Share Posted August 23, 2016 Try also modify only the server ovpn file with this lines. sndbuf 0 rcvbuf 0 push "sndbuf 393216" push "rcvbuf 393216" I am going to go with no change... if anything maybe worse.. Tried both server/client, server only and client only. This is my home internet connection where my Unraid Server lives... This is my Samsung Galaxy S7 on a 4G network with good reception using the VPN on "redirect-gateway def1" I normally get about 50 each way on 4G. For the life of my I can't figure out what is bottle necking it, I don't have any special QoS or anything. Quote Link to comment
[email protected] Posted August 29, 2016 Share Posted August 29, 2016 Hi Again Peter, I just noticed that whenever I connect to the openvpn server, it docent change my ip address on sites like "whatismyipadress.com". I read on other sites that whenever you connect to a openvpn server it is supposed to change your ip address to the same one as your home network. Also I tried reinstalling the plugin but that doesn't seem to help. Please help, Thanks! Quote Link to comment
peter_sm Posted August 29, 2016 Author Share Posted August 29, 2016 Hi, Using the server want change your WAN IP. //Peter Quote Link to comment
[email protected] Posted August 29, 2016 Share Posted August 29, 2016 Hi, Thanks for the quick reply. Even if the wan ip doesn't change dose that still mean all the traffic is router though the Von? For the wan ip will it not change even if I use a different openvon server or is the wan ip not changing only for your plugin? Thanks again, Quote Link to comment
peter_sm Posted August 29, 2016 Author Share Posted August 29, 2016 Hi , are you talking about routing all client traffic through OpenVPN server ? //Peter Quote Link to comment
peter_sm Posted August 29, 2016 Author Share Posted August 29, 2016 I have tested different settings and verified with my Mobile over 3G This setting didn't change my Mobile IP Redirect-gateway = No Push LAN subnet to the clients = No This settings give my mobile samer IP as my WAN Redirect-gateway = redirect-gateway def1 Push LAN subnet to the clients = Yes Quote Link to comment
[email protected] Posted August 30, 2016 Share Posted August 30, 2016 Hi thanks a lot those setting worked for me. But I have one question, even if turn those settings on (where my mobile ip is my home wan ip) will all the traffic from my client (my phone) still go though the server? Thanks again, Quote Link to comment
peter_sm Posted August 30, 2016 Author Share Posted August 30, 2016 These settings are in my plugin and shall rout all client traffic (including web-traffic) through the VPN push "redirect-gateway def1" And iptables rule iptables -t nat -A POSTROUTING -s <VPN server IP>/24 -o eth0 -j MASQUERADE One thing I'm not sure about is DNS settings, need to get this verify. one of these should be fine, or all variants is OK? push "dhcp-option DNS <VPN server IP>" push "dhcp-option DNS <UNRAID IP>" push "dhcp-option DNS <ROUTER IP>" push "dhcp-option DNS <GOOGLE>" We can try this as well on client-side redirect-gateway def1 Quote Link to comment
[email protected] Posted August 30, 2016 Share Posted August 30, 2016 So I didn't understand the 3rd code block, I currently have this: remote [WAN IP] cipher aes-256-cbc auth sha512 client dev tun proto udp port 80 resolv-retry infinite tls-client nobind persist-key persist-tun remote-cert-tls server tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-DHE-RSA-WITH-AES-128-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA comp-lzo adaptive verb 3 route-delay 2 key-direction 1 Should I do this? remote [WAN IP] cipher aes-256-cbc auth sha512 client dev tun proto udp port 80 resolv-retry infinite tls-client nobind persist-key persist-tun remote-cert-tls server tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384:TLS-DHE-RSA-WITH-AES-128-GCM-SHA256:TLS-DHE-RSA-WITH-AES-256-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA:TLS-DHE-RSA-WITH-AES-128-CBC-SHA:TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA comp-lzo adaptive verb 3 route-delay 2 key-direction 1 redirect-gateway def1 push "dhcp-option DNS 10.8.0.1" push "dhcp-option DNS 192.168.3.111" push "dhcp-option DNS 192.168.3.1" push "dhcp-option DNS 8.8.8.8" or should I only add one of the lines with push "dhcp-option DNS ....." Thanks, Quote Link to comment
peter_sm Posted August 30, 2016 Author Share Posted August 30, 2016 Only one line at the time :-) Can you easily verify IF ALL traffic are going trough the VPN server ? Quote Link to comment
[email protected] Posted August 31, 2016 Share Posted August 31, 2016 No, I can't really verify that all traffic is going though the vpn. However I want to make sure that as much of it is going though it since I will have to go to a place where there is a web filter. I want to make sure I do everything I can to make sure I can access my home network since once I get there since I won't come back(to my home network to change vpn settings) for a couple months. The only thing is know is that port 80 and port 443 are open. Any suggestions to improve my chances? Thanks again, Quote Link to comment
greg_gorrell Posted September 2, 2016 Share Posted September 2, 2016 I have the OpenVPN-AS docker installed on my server. What are the benefits to using this plugin over my current setup? I had one hell of a time getting everything set up with the docker, as there is no generating a cert or anything. Is this a pretty simple setup? Quote Link to comment
peter_sm Posted September 2, 2016 Author Share Posted September 2, 2016 Try the plugin and use default values, create some clients and you are ready to go [emoji41] info will be on the first settings page after installed the plugin. Quote Link to comment
rippernz Posted September 14, 2016 Share Posted September 14, 2016 openVPN client hanging webui unRAID 6.2 rc5 browser - Chrome (latest) Set to connect and mount i have a problem and i have had it before with previous version of unRAID but it came right about a prolong period of time 30+ mins. when i try an enter the settings page for openVPN under settings it just hangs for a long time, the up time of the server is about 5 days at the moment, i have currently been waiting for about 30min. if i try to go to another unRAID tab its still hung. i can close the browser and reopen and its still not responding when trying to get to the unRAID gui, tried another browser and its the same I can access the server via putty. with out restating the server can i do anything else and also why am i having this problem? At the moment the server has no internet access Quote Link to comment
peter_sm Posted September 14, 2016 Author Share Posted September 14, 2016 openVPN client hanging webui unRAID 6.2 rc5 browser - Chrome (latest) Set to connect and mount i have a problem and i have had it before with previous version of unRAID but it came right about a prolong period of time 30+ mins. when i try an enter the settings page for openVPN under settings it just hangs for a long time, the up time of the server is about 5 days at the moment, i have currently been waiting for about 30min. if i try to go to another unRAID tab its still hung. i can close the browser and reopen and its still not responding when trying to get to the unRAID gui, tried another browser and its the same I can access the server via putty. with out restating the server can i do anything else and also why am i having this problem? At the moment the server has no internet access The plugin looking for your WAN IP. If yo don't have any internet it will be stuck while perform this command. //Peter Quote Link to comment
rippernz Posted September 14, 2016 Share Posted September 14, 2016 openVPN client hanging webui unRAID 6.2 rc5 browser - Chrome (latest) Set to connect and mount i have a problem and i have had it before with previous version of unRAID but it came right about a prolong period of time 30+ mins. when i try an enter the settings page for openVPN under settings it just hangs for a long time, the up time of the server is about 5 days at the moment, i have currently been waiting for about 30min. if i try to go to another unRAID tab its still hung. i can close the browser and reopen and its still not responding when trying to get to the unRAID gui, tried another browser and its the same I can access the server via putty. with out restating the server can i do anything else and also why am i having this problem? At the moment the server has no internet access The plugin looking for your WAN IP. If yo don't have any internet it will be stuck while perform this command. //Peter Right, so the only option is to restart the server? Is there a way I can kill the running service? Sent from my Nexus 6P using Tapatalk Quote Link to comment
DZMM Posted September 17, 2016 Share Posted September 17, 2016 If I want to use my PIA account in the client, do I: - download files from here https://www.privateinternetaccess.com/pages/client-support/windows-openvpn - put them in xxxx directory - enter my username and password on the plugin page? Thanks Quote Link to comment
peter_sm Posted September 18, 2016 Author Share Posted September 18, 2016 Create a folder /boot/openvpn and then copy your files to that folder. Start the plugin. Quote Link to comment
DZMM Posted September 18, 2016 Share Posted September 18, 2016 Create a folder /boot/openvpn and then copy your files to that folder. Start the plugin. I must be doing something wrong. I copied the files, entered my details but it didn't connect. The southampton file has: client proto udp dev tun5 remote uk-southampton.privateinternetaccess.com 1198 resolv-retry infinite nobind persist-key persist-tun cipher aes-128-cbc auth sha1 tls-client remote-cert-tls server comp-lzo verb 1 reneg-sec 0 crl-verify crl.rsa.2048.pem ca ca.rsa.2048.crt disable-occ auth-user-pass /boot/config/plugins/openvpnclient/password.txt status /tmp/openvpn/openvpn-status.log Quote Link to comment
peter_sm Posted September 18, 2016 Author Share Posted September 18, 2016 After you have saved the settings and started the client, did you see any error log? Quote Link to comment
DZMM Posted September 18, 2016 Share Posted September 18, 2016 After you have saved the settings and started the client, did you see any error log? Options error: --ca fails with 'ca.rsa.2048.crt': No such file or directory Options error: --crl-verify fails with 'crl.rsa.2048.pem': No such file or directory Options error: Please correct these errors. Use --help for more information. I've installed the client and my pia file from the link above - do I get the missing files from above from your server plugin, or elsewhere? Sorry if not understanding, but new to setting up a VPN this way 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.