gurulee Posted December 2, 2016 Share Posted December 2, 2016 Just installed, but am not able to get to webUI: Error: Could not execute server start. /var/run/s6/etc/cont-init.d/40-openvpn-init: line 15: /etc/init.d/openvpnas: No such file or directory [cont-init.d] 40-openvpn-init: exited 0. [cont-init.d] 50-interface: executing... MOD Default {u'admin_ui.https.ip_address': u'all'} {u'admin_ui.https.ip_address': 'eth0'} MOD Default {u'cs.https.ip_address': u'all'} {u'cs.https.ip_address': 'eth0'} MOD Default {u'vpn.daemon.0.listen.ip_address': u'all'} {u'vpn.daemon.0.listen.ip_address': 'eth0'} MOD Default {u'vpn.daemon.0.server.ip_address': u'all'} {u'vpn.daemon.0.server.ip_address': 'eth0'} [cont-init.d] 50-interface: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. Any ideas? Quote Link to comment
CHBMB Posted December 2, 2016 Share Posted December 2, 2016 Post your run command. Quote Link to comment
SpaceInvaderOne Posted December 2, 2016 Share Posted December 2, 2016 Hi Guys. I have put together a video tutorial to show how to install and configure OpenVPN-as as a docker on unRAID. I hope people find it useful! How to install/configure OpenVPN server on unRAID. Secure remote connections! Quote Link to comment
CHBMB Posted December 3, 2016 Share Posted December 3, 2016 Haven't had a chance to watch this yet, but thanks Gridrunner. Mighty nice of you.. Sent from my LG-H815 using Tapatalk Quote Link to comment
SpaceInvaderOne Posted December 3, 2016 Share Posted December 3, 2016 Haven't had a chance to watch this yet, but thanks Gridrunner. Mighty nice of you.. Sent from my LG-H815 using Tapatalk You're more than welcome. It's a great docker Quote Link to comment
wgstarks Posted December 4, 2016 Share Posted December 4, 2016 I see quite a few references in this thread to setting up DDNS. Just wondering it that's a requirement or an option? Can I just connect from WAN using my router's external IP. It's not static but almost never changes (maybe 3 or 4 times in the past 7 years). I have a domain hosted by namecheap and could setup another one, but seems like a lot of hassle and expense if I don't need to. Quote Link to comment
CHBMB Posted December 4, 2016 Share Posted December 4, 2016 wgstarks, just use your existing domain. It's what I do. Sent from my LG-H815 using Tapatalk Quote Link to comment
wgstarks Posted December 4, 2016 Share Posted December 4, 2016 wgstarks, just use your existing domain. It's what I do. Sent from my LG-H815 using Tapatalk Can I have 2 different IP's for the same domain? DNS rules are way outside my skill set. Quote Link to comment
CHBMB Posted December 4, 2016 Share Posted December 4, 2016 I thought your domain was hosted on your Unraid box.. Sent from my LG-H815 using Tapatalk Quote Link to comment
wgstarks Posted December 4, 2016 Share Posted December 4, 2016 Actually, right now it's hosted on another machine on the same LAN. As soon as I get a chance I'll be uploading it to namecheap though. Purchased one of their hosting packages on Black Friday ($0.88/year and a lot more reliable). It includes 3 domains but I think I'd have to pay to register a new domain (maybe?). I know I can use self-signed certs so won't need to purchase a new ssl certificate but wasn't sure about connecting via IP. Quote Link to comment
CHBMB Posted December 4, 2016 Share Posted December 4, 2016 Should work even if it's on a different machine on the same LAN. Will still get the same WAN IP address. Quote Link to comment
wgstarks Posted December 4, 2016 Share Posted December 4, 2016 Should work even if it's on a different machine on the same LAN. Will still get the same WAN IP address. Thanks. That will only be for a few weeks though. Quote Link to comment
tyrindor Posted December 10, 2016 Share Posted December 10, 2016 Followed the above video, didn't get cert SSL or dynamic DNS setup because I am just making sure it works first. With two 1000/500Mbps fiber connections between the host and client, only seeing about 2MB/s speeds in both directions. Processor on both systems is under 50%. Any ideas? I expected at least 20-50MB/s on these connections. Quote Link to comment
06ankara Posted December 10, 2016 Share Posted December 10, 2016 Installed and I have no access to web gui [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing... ------------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/index.php/donations/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 20-time: executing... Current default time zone: 'America/Los_Angeles' Local time is now: Sat Dec 10 04:55:31 PST 2016. Universal Time is now: Sat Dec 10 12:55:31 UTC 2016. [cont-init.d] 20-time: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 40-openvpn-init: executing... [cont-init.d] 40-openvpn-init: exited 0. [cont-init.d] 50-interface: executing... MOD Default {} {} MOD Default {} {} MOD Default {} {} MOD Default {} {} [cont-init.d] 50-interface: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. Quote Link to comment
CHBMB Posted December 10, 2016 Share Posted December 10, 2016 Followed the above video, didn't get cert SSL or dynamic DNS setup because I am just making sure it works first. With two 1000/500Mbps fiber connections between the host and client, only seeing about 2MB/s speeds in both directions. Processor on both systems is under 50%. Any ideas? I expected at least 20-50MB/s on these connections. So many variables I don't know where to start looking to be honest. Might be helpful to post your setup in text form for those that haven't watched the video/can't remember the video. Quote Link to comment
CHBMB Posted December 10, 2016 Share Posted December 10, 2016 Installed and I have no access to web gui [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing... ------------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/index.php/donations/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 20-time: executing... Current default time zone: 'America/Los_Angeles' Local time is now: Sat Dec 10 04:55:31 PST 2016. Universal Time is now: Sat Dec 10 12:55:31 UTC 2016. [cont-init.d] 20-time: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 40-openvpn-init: executing... [cont-init.d] 40-openvpn-init: exited 0. [cont-init.d] 50-interface: executing... MOD Default {} {} MOD Default {} {} MOD Default {} {} MOD Default {} {} [cont-init.d] 50-interface: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. Post your docker run command. Instructions in my sig. Quote Link to comment
tyrindor Posted December 10, 2016 Share Posted December 10, 2016 Followed the above video, didn't get cert SSL or dynamic DNS setup because I am just making sure it works first. With two 1000/500Mbps fiber connections between the host and client, only seeing about 2MB/s speeds in both directions. Processor on both systems is under 50%. Any ideas? I expected at least 20-50MB/s on these connections. So many variables I don't know where to start looking to be honest. Might be helpful to post your setup in text form for those that haven't watched the video/can't remember the video. I changed nothing, everything is default but adding a user and changing the IP. - Installed the docker via community apps - set the docker directory to my SSD cache drive (10GB size). Set the openvpn directory to that same folder. - I signed into openvpn webui via admin and set my IP address under "server network settings". - Set up a user, gave him the .msi for OpenVPN Connect, and he connected - That's it, speeds are super slow. I've been told you don't want to VPN host on common local networks (192.168.0.1), but no way that's causing the speed problem? I have opened port 1194 in my router, though port checkers claim 1194 is still closed. If I remove the port rule from my router, he can't connect so it's definitely opening it. Router is a Netgear R7000, followed the exact steps showed on their website. He's using a custom built pfsense router with about a billion settings, so no idea what it could be doing. Tempted to try removing both routers and doing a direction connection between two computers, but I doubt it's a router problem. Had this exact same problem 3 years ago when using a built-in router VPN as well, but we figured it was due to the router's slow processor. Next logical step I can think of is to use the intregrated openVPN feature in my Netgear R7000 router and see if it's better/worse/the same.... EDIT1: Perhaps an ISP is throttling openVPN but I don't see how to enable SSH 80 or SSL 443? https://airvpn.org/topic/14971-am-i-crazy-or-is-my-isp-throttling-openvpn/ EDIT2: Further reading, here's a guy claiming this only happens when transferring from SMB to windows (what we're doing): https://forum.pfsense.org/index.php?topic=51341.0 - "SO_SNDBUF and SO_RCVBUF socket options in Samba. The recommended settings of 8192 cause a significant performance hit when transferring files over a VPN. Changing the settings to 65536 cured the problem completely.". How do I do this? Quote Link to comment
CHBMB Posted December 10, 2016 Share Posted December 10, 2016 Followed the above video, didn't get cert SSL or dynamic DNS setup because I am just making sure it works first. With two 1000/500Mbps fiber connections between the host and client, only seeing about 2MB/s speeds in both directions. Processor on both systems is under 50%. Any ideas? I expected at least 20-50MB/s on these connections. So many variables I don't know where to start looking to be honest. Might be helpful to post your setup in text form for those that haven't watched the video/can't remember the video. I changed nothing, everything is default but adding a user and changing the IP. - Installed the docker via community apps - set the docker directory to my SSD cache drive (10GB size). Set the openvpn directory to that same folder. - I signed into openvpn webui via admin and set my IP address under "server network settings". - Set up a user, gave him the .msi for OpenVPN Connect, and he connected - That's it, speeds are super slow. I've been told you don't want to VPN host on common local networks (192.168.0.1), but no way that's causing the speed problem? I have opened port 1194 in my router, though port checkers claim 1194 is still closed. If I remove the port rule from my router, he can't connect so it's definitely opening it. Router is a Netgear R7000, followed the exact steps showed on their website. He's using a custom built pfsense router with about a billion settings, so no idea what it could be doing. Tempted to try removing both routers and doing a direction connection between two computers, but I doubt it's a router problem. Had this exact same problem 3 years ago when using a built-in router VPN as well, but we figured it was due to the router's slow processor. Next logical step I can think of is to use the intregrated openVPN feature in my Netgear R7000 router and see if it's better/worse/the same.... EDIT1: Perhaps an ISP is throttling openVPN but I don't see how to enable SSH 80 or SSL 443? https://airvpn.org/topic/14971-am-i-crazy-or-is-my-isp-throttling-openvpn/ EDIT2: Further reading, here's a guy claiming this only happens when transferring from SMB to windows (what we're doing): https://forum.pfsense.org/index.php?topic=51341.0 - "SO_SNDBUF and SO_RCVBUF socket options in Samba. The recommended settings of 8192 cause a significant performance hit when transferring files over a VPN. Changing the settings to 65536 cured the problem completely.". How do I do this? EDIT2 is interesting. I have no idea how to change it though I'm afraid. And I don't want to ruin you day completely but saw something last night you should probably be aware of. https://www.bleepingcomputer.com/news/security/cert-warns-users-to-stop-using-two-netgear-router-models-due-to-security-flaw/ Quote Link to comment
tyrindor Posted December 10, 2016 Share Posted December 10, 2016 Followed the above video, didn't get cert SSL or dynamic DNS setup because I am just making sure it works first. With two 1000/500Mbps fiber connections between the host and client, only seeing about 2MB/s speeds in both directions. Processor on both systems is under 50%. Any ideas? I expected at least 20-50MB/s on these connections. So many variables I don't know where to start looking to be honest. Might be helpful to post your setup in text form for those that haven't watched the video/can't remember the video. I changed nothing, everything is default but adding a user and changing the IP. - Installed the docker via community apps - set the docker directory to my SSD cache drive (10GB size). Set the openvpn directory to that same folder. - I signed into openvpn webui via admin and set my IP address under "server network settings". - Set up a user, gave him the .msi for OpenVPN Connect, and he connected - That's it, speeds are super slow. I've been told you don't want to VPN host on common local networks (192.168.0.1), but no way that's causing the speed problem? I have opened port 1194 in my router, though port checkers claim 1194 is still closed. If I remove the port rule from my router, he can't connect so it's definitely opening it. Router is a Netgear R7000, followed the exact steps showed on their website. He's using a custom built pfsense router with about a billion settings, so no idea what it could be doing. Tempted to try removing both routers and doing a direction connection between two computers, but I doubt it's a router problem. Had this exact same problem 3 years ago when using a built-in router VPN as well, but we figured it was due to the router's slow processor. Next logical step I can think of is to use the intregrated openVPN feature in my Netgear R7000 router and see if it's better/worse/the same.... EDIT1: Perhaps an ISP is throttling openVPN but I don't see how to enable SSH 80 or SSL 443? https://airvpn.org/topic/14971-am-i-crazy-or-is-my-isp-throttling-openvpn/ EDIT2: Further reading, here's a guy claiming this only happens when transferring from SMB to windows (what we're doing): https://forum.pfsense.org/index.php?topic=51341.0 - "SO_SNDBUF and SO_RCVBUF socket options in Samba. The recommended settings of 8192 cause a significant performance hit when transferring files over a VPN. Changing the settings to 65536 cured the problem completely.". How do I do this? EDIT2 is interesting. I have no idea how to change it though I'm afraid. And I don't want to ruin you day completely but saw something last night you should probably be aware of. https://www.bleepingcomputer.com/news/security/cert-warns-users-to-stop-using-two-netgear-router-models-due-to-security-flaw/ I see lots of tweaks people suggest but I can't figure how to get them to work. I don't understand how to edit client and server configs. The client config is intregrated in the .msi file you download, and the server config is vastly different format than any other openvpn config I see... For example, to increase MTU size would this be right?: { "Default": { "admin_ui.https.ip_address": "all", "admin_ui.https.port": "943", "tun-mtu": "48000", "auth.ldap.0.name": "My LDAP servers", These are the tweaks im trying to apply... https://community.openvpn.net/openvpn/wiki/Gigabit_Networks_Linux Quote Link to comment
CHBMB Posted December 10, 2016 Share Posted December 10, 2016 I have no idea to be honest. Don't forget though, you're using OpenVPN-AS (Access Server) which may implement things slightly differently to the OpenVPN application you download for Windows etc. https://openvpn.net/index.php/access-server/overview.html Quote Link to comment
tyrindor Posted December 10, 2016 Share Posted December 10, 2016 Well can anyone confirm they are getting significantly more than 2MB/s with this app? Quote Link to comment
CHBMB Posted December 10, 2016 Share Posted December 10, 2016 Well can anyone confirm they are getting significantly more than 2MB/s with this app? Yes, I've compiled the DVB builds over this and copied them to my phone over it. I can't do a speedtest at the moment as my mobile reception is atrocious at home. Hopefully someone else can provide this info. Quote Link to comment
wgstarks Posted December 10, 2016 Share Posted December 10, 2016 Well can anyone confirm they are getting significantly more than 2MB/s with this app? Have you tried the OpenVPN Forum? Just an idea. Bound to be a lot more users there and a better chance that someone has experience with this issue. Quote Link to comment
06ankara Posted December 10, 2016 Share Posted December 10, 2016 Installed and I have no access to web gui [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing... ------------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/index.php/donations/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 20-time: executing... Current default time zone: 'America/Los_Angeles' Local time is now: Sat Dec 10 04:55:31 PST 2016. Universal Time is now: Sat Dec 10 12:55:31 UTC 2016. [cont-init.d] 20-time: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 40-openvpn-init: executing... [cont-init.d] 40-openvpn-init: exited 0. [cont-init.d] 50-interface: executing... MOD Default {} {} MOD Default {} {} MOD Default {} {} MOD Default {} {} [cont-init.d] 50-interface: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. Post your docker run command. Instructions in my sig. Ihope this is enough root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="openvpn-as" --net="host" --privileged="true" -e TZ="America/Los_Angeles" -e HOST_OS="unRAID" -e "TCP_PORT_943"="943" -e "PGID"="100" -e "PUID"="99" -v "/mnt/user/FERNAS01/Docker/openvpn-as":"/config":rw linuxserver/openvpn-as 1472ff7bab14912b08772cbcd8ad35061f592915d99d420ac0aa9a53863c0e29 The command finished successfully! Quote Link to comment
tyrindor Posted December 10, 2016 Share Posted December 10, 2016 Well can anyone confirm they are getting significantly more than 2MB/s with this app? Have you tried the OpenVPN Forum? Just an idea. Bound to be a lot more users there and a better chance that someone has experience with this issue. Yes, I tried there. I am giving up as this has already consumed two full days for me. I tried to connect to him today and it's not even working now. Nothing has changed and he has a static IP. Doesn't make any sense that I have all these issues when I followed the video exactly. It sucks because I recently moved and a large part was so I could get gigabit internet to sync my friend and I's unRAID servers. There's no way we're sending TBs of data over 2MB/s. I feel like there should be a much easier way to connect two local networks. 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.