saarg Posted February 24, 2017 Share Posted February 24, 2017 3 minutes ago, zin105 said: I ssh into my unRAID box, type docker exec -it openvpn-as passwd admin and change the password. It works to log into the webui, but if I restart the docker the change is lost. I never tried this one, and I'm at work. I'll test it when I get the time. What is your run command? You find the info on how the get it in my sig. The want help with docker one. Quote Link to comment
trurl Posted February 24, 2017 Share Posted February 24, 2017 17 minutes ago, zin105 said: Can't see your signature. Display of sigs is optional on this new forum platform. If you want to see them (recommended) click the down-arrow at upper right then Account Settings - Signature - View Signatures. Quote Link to comment
wgstarks Posted February 24, 2017 Share Posted February 24, 2017 15 minutes ago, trurl said: Display of sigs is optional on this new forum platform. If you want to see them (recommended) click the down-arrow at upper right then Account Settings - Signature - View Signatures. If you're using a mobile browser you'll need to switch to a desktop. Quote Link to comment
tuxbass Posted March 2, 2017 Share Posted March 2, 2017 Trying to get this docker working. All looks good, but there are some things I'm not 100% sure about: Seen people mounting the config dir under appdata/ like -v "/mnt/cache/appdata/openvpn-as":"/config":rw Never seen this; shouldn't /mnt/user/appdata/openvpn-as work as well, given the /appdata share is marked cache-only, which it is by default? Haven't managed to get my head around the SSL certificates. I'm running nginx using letsencrypt certs, but using those really aren't feasible, as they expire every 3 months; also there's really no reason why self-signed cert couldn't be used for VPN purpose. Should we create our own cert using easy-rsa? Quote Link to comment
aptalca Posted March 2, 2017 Share Posted March 2, 2017 Trying to get this docker working. All looks good, but there are some things I'm not 100% sure about: Seen people mounting the config dir under appdata/ like -v "/mnt/cache/appdata/openvpn-as":"/config":rw Never seen this; shouldn't /mnt/user/appdata/openvpn-as work as well, given the /appdata share is marked cache-only, which it is by default? Haven't managed to get my head around the SSL certificates. I'm running nginx using letsencrypt certs, but using those really aren't feasible, as they expire every 3 months; also there's really no reason why self-signed cert couldn't be used for VPN purpose. Should we create our own cert using easy-rsa? On the latest unraid stable you can use either mount point. Openvpn container creates its own certs Quote Link to comment
seb Posted March 14, 2017 Share Posted March 14, 2017 I test openvpn locally and everything works but when I try to do remote I have this error message : Tue Mar 14 13:10:02 2017 Control Channel Authentication: tls-auth using INLINE static key file Tue Mar 14 13:10:02 2017 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Tue Mar 14 13:10:02 2017 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Tue Mar 14 13:10:02 2017 Socket Buffers: R=[212992->200000] S=[212992->200000] Tue Mar 14 13:10:02 2017 UDPv4 link local: [undef] Tue Mar 14 13:10:02 2017 UDPv4 link remote: [AF_INET]80.15.197.70:1194 Tue Mar 14 13:10:06 2017 Server poll timeout, restarting Tue Mar 14 13:10:06 2017 SIGUSR1[soft,server_poll] received, process restarting Can you help me please Quote Link to comment
seb Posted March 15, 2017 Share Posted March 15, 2017 It's good I found the solution !! I just forgot to open port 1194 Quote Link to comment
1trkmind Posted March 30, 2017 Share Posted March 30, 2017 I just installed the docker with host network type and privileged enabled on unraid 6.3.2. When I try the webui I get: This site can't be reached "ERR_CONNECTION_REFUSED" What I've tried: 1. ssh into unraid machine created a password for admin (completed successfully) 2. trying chrome and firefox browsers. Also tried launching from the local machine (all same error) 3. forwarded port 943 to the local machine 4. turning off the firewall in my router Any advice is appreciated. Thanks. Quote Link to comment
CHBMB Posted March 30, 2017 Share Posted March 30, 2017 Post your docker run command. Quote Link to comment
1trkmind Posted March 31, 2017 Share Posted March 31, 2017 (edited) 17 hours ago, CHBMB said: Post your docker run command. Sorry, I'm new to unraid and dockers, I'm not sure what that mean. I'm not running anything from the terminal, just from the docker section of unraid. Is there a log I can pull the command from? Edit: Here is the docker install log: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="openvpn-as" --net="host" --privileged="true" -e TZ="America/New_York" -e HOST_OS="unRAID" -e "TCP_PORT_943"="943" -e "PGID"="100" -e "PUID"="99" -v "/mnt/user/appdata/openvpn-as":"/config":rw linuxserver/openvpn-as xxxxx36c41dxxxxxxx89d1112e53e8xxxxx63d5545xxxxxxx The command finished successfully! Edited March 31, 2017 by 1trkmind Quote Link to comment
1trkmind Posted March 31, 2017 Share Posted March 31, 2017 12 minutes ago, CHBMB said: See my signature. huh? Quote Link to comment
CHBMB Posted March 31, 2017 Share Posted March 31, 2017 Signature in the forum, turn them on via your profile settings. 1 Quote Link to comment
wgstarks Posted March 31, 2017 Share Posted March 31, 2017 2 hours ago, 1trkmind said: huh? 2 hours ago, CHBMB said: Signature in the forum, turn them on via your profile settings. You have to be on a desktop machine also. Signatures aren't visible on mobile devices. Quote Link to comment
1trkmind Posted March 31, 2017 Share Posted March 31, 2017 9 hours ago, wgstarks said: You have to be on a desktop machine also. Signatures aren't visible on mobile devices. Run Command: root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="openvpn-as" --net="host" --privileged="true" -e TZ="America/New_York" -e HOST_OS="unRAID" -e "TCP_PORT_943"="943" -e "PGID"="100" -e "PUID"="99" -v "/mnt/user/appdata/openvpn-as":"/config":rw linuxserver/openvpn-as 391cfd36c41dc10bab165adf7b89d1112e53e87cb022564463d55459c05e4905 The command finished successfully! OpenVPN-as Log: ErrorWarningSystemArrayLogin [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.ioWe gratefully accept donations at:https://www.linuxserver.io/donations/-------------------------------------GID/UID-------------------------------------User uid: 99User gid: 100-------------------------------------[cont-init.d] 10-adduser: exited 0.[cont-init.d] 20-time: executing...Current default time zone: 'America/New_York'Local time is now: Fri Mar 31 06:19:27 EDT 2017.Universal Time is now: Fri Mar 31 10:19:27 UTC 2017.[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. I hope this helps, thanks again. Quote Link to comment
aptalca Posted March 31, 2017 Share Posted March 31, 2017 Did you try to connect to https://yourip:943/admin ? Or click on the webui link in the unraid gui? Quote Link to comment
1trkmind Posted April 1, 2017 Share Posted April 1, 2017 13 hours ago, aptalca said: Did you try to connect to https://yourip:943/admin ? Or click on the webui link in the unraid gui? I have tried both Quote Link to comment
tdallen Posted April 1, 2017 Share Posted April 1, 2017 Hi, I've got some really dumb basic questions. They may be more general in nature, but I'm not sure if they might be implementation specific to Linuxserver.io OpenVPN-AS so posting them here - but please tell me if I should ask elsewhere. FYI, I'm familiar with router and Windows VPN implementations but not OpenVPN as a Docker. I'm struggling a bit with what I can do with OpenVPN as a Docker, and whether I need other components. So, I'll go ahead and install the Docker. But, how do I "tell" other Dockers to use the VPN connection for outbound traffic? Do I also need a proxy? Or does this implementation "know" about other containers and allow me to configure which containers will use the VPN connection? Or does it simply co-opt the entire docker0 network interface and route all containers configured for bridge mode? I assume it doesn't co-opt the entire host network interface... Similarly, if I want to have other devices on my network use the VPN connection, do I need a proxy? Or does OpenVPN-AS expose an interface that allows me to "point" traffic to it? With the help, perhaps, of a VPN client on the device? Feel free to send me to an appropriate resource to read, I've been googling without much success. I'm obviously a bit confused, so thanks for any help! Quote Link to comment
CHBMB Posted April 1, 2017 Share Posted April 1, 2017 6 minutes ago, tdallen said: Hi, I've got some really dumb basic questions. They may be more general in nature, but I'm not sure if they might be implementation specific to Linuxserver.io OpenVPN-AS so posting them here - but please tell me if I should ask elsewhere. FYI, I'm familiar with router and Windows VPN implementations but not OpenVPN as a Docker. I'm struggling a bit with what I can do with OpenVPN as a Docker, and whether I need other components. So, I'll go ahead and install the Docker. But, how do I "tell" other Dockers to use the VPN connection for outbound traffic? Do I also need a proxy? Or does this implementation "know" about other containers and allow me to configure which containers will use the VPN connection? Or does it simply co-opt the entire docker0 network interface and route all containers configured for bridge mode? I assume it doesn't co-opt the entire host network interface... Similarly, if I want to have other devices on my network use the VPN connection, do I need a proxy? Or does OpenVPN-AS expose an interface that allows me to "point" traffic to it? With the help, perhaps, of a VPN client on the device? Feel free to send me to an appropriate resource to read, I've been googling without much success. I'm obviously a bit confused, so thanks for any help! You don't this is a VPN Server for connecting to your LAN from WAN. Not for routing stuff from LAN over a VPN to WAN. Quote Link to comment
tdallen Posted April 1, 2017 Share Posted April 1, 2017 40 minutes ago, CHBMB said: You don't this is a VPN Server for connecting to your LAN from WAN. Not for routing stuff from LAN over a VPN to WAN. Ok, thanks. Is there a solution for that, can you point me in the right direction? Quote Link to comment
Squid Posted April 1, 2017 Share Posted April 1, 2017 1 minute ago, tdallen said: Ok, thanks. Is there a solution for that, can you point me in the right direction? You want the docker containers to connect to another VPN (something like PIA). Check out binhex's ...vpn apps Quote Link to comment
CHBMB Posted April 1, 2017 Share Posted April 1, 2017 Just now, tdallen said: Ok, thanks. Is there a solution for that, can you point me in the right direction? There's no easy to use way to do so I'm afraid. Can use deluge-vpn by binhex and use privoxy. Quote Link to comment
tdallen Posted April 1, 2017 Share Posted April 1, 2017 Ok, thanks. I'm a little less confused now ;). Quote Link to comment
m.b.d Posted April 3, 2017 Share Posted April 3, 2017 I've misplaced my login (user and pass) for the web interface, is there anyway to reset it? Thx for the great dockers. Quote Link to comment
ColonelRhodes Posted April 4, 2017 Share Posted April 4, 2017 This docker was working for me until a few days ago. I'm using the iOS OpenVPN Connect app and when I try to connect it just hangs and no logs on iOS are seen. Any suggestions? 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.