aptalca Posted December 5, 2017 Share Posted December 5, 2017 5 hours ago, FreeMan said: This is the 2nd time I've tried installing OpenVPN-AS, and I've had trouble logging in as any user other than default admin both times. Here's my config screen: Per the recommendations at Linuxserver's site, I've created a new users "localadmin": I usually use KeePass to create long, complex, random passwords, but, because I've been having issues (which I thought may be related to pasting the password into the telnet session), I created a simple password for this account that I knew I could type correctly. I've granted this new user admin rights: I have authentication set to local so my users & passwords survive reinstall: Yet every time I try to log in as my new "localadmin" I'm told that it's an incorrect login: I've attached the log after the most recent login attempt. If someone would point me in the right direction, I'd be most grateful! openvpn.log Linuxserver site does not tell you to add users through command line. I repeat, do not add users through command line. Follow the steps in the original post. They're super simple. Quote Link to comment
SpaceInvaderOne Posted December 5, 2017 Share Posted December 5, 2017 7 hours ago, FreeMan said: That did the trick! I really appreciate the work @gridrunner has done with his video, but it seems that it really needs to be updated. Additionally, since so many places around here point users to that video, it would be super helpful if the linuxserver page contained a couple of notes on what's out dated and the current best methods. (hint, hint, @CHBMB ). 3 I have actually made a start on a new video for OpenVPN-AS will be up in next couple of weeks, hopefully, end of next week... 2 Quote Link to comment
FreeMan Posted December 5, 2017 Share Posted December 5, 2017 I have actually made a start on a new video for OpenVPN-AS will be up in next couple of weeks, hopefully, end of next week... Sounds great,@gridrunner!Sent from Tapatalk Quote Link to comment
FreeMan Posted December 5, 2017 Share Posted December 5, 2017 Linuxserver site does not tell you to add users through command line. I repeat, do not add users through command line. Follow the steps in the original post. They're super simple. Thanks! I did get that part sorted with wgstarks' help.I'm still struggling with the timeout issue when I try to connect with the openvpn client, though. Any thoughts on that?Sent from Tapatalk Quote Link to comment
wgstarks Posted December 5, 2017 Share Posted December 5, 2017 25 minutes ago, FreeMan said: I'm still struggling with the timeout issue when I try to connect with the openvpn client, though. Any thoughts on that? Just to be sure, you do have the proper ports forwarded to the docker in your firewall right? That’s the only problem I have ever had when trying to connect to my docker. Quote Link to comment
FreeMan Posted December 5, 2017 Share Posted December 5, 2017 Just to be sure, you do have the proper ports forwarded to the docker in your firewall right? That’s the only problem I have ever had when trying to connect to my docker.I have 943 forwarded, do I need anything else?Sent from Tapatalk Quote Link to comment
Hoopster Posted December 5, 2017 Share Posted December 5, 2017 1 minute ago, FreeMan said: I have 943 forwarded, do I need anything else? Sent from Tapatalk 1194 UDP (default) or whatever port you have specified as Host Port 3 in the OpenVPN Server docker should be forwarded. Quote Link to comment
FreeMan Posted December 5, 2017 Share Posted December 5, 2017 1194 UDP (default) or whatever port you have specified as Host Port 3 in the OpenVPN Server docker should be forwarded. Well, that could well be the issue... Will adjust as soon as I get home and try again. Thanks!Sent from Tapatalk Quote Link to comment
Hoopster Posted December 5, 2017 Share Posted December 5, 2017 2 minutes ago, FreeMan said: Well, that could well be the issue... Will adjust as soon as I get home and try again. Thanks! Sent from Tapatalk The client can't connect if the port on which the server is listening (UDP port 1194 by default) is not accessible through the firewall. Quote Link to comment
wgstarks Posted December 5, 2017 Share Posted December 5, 2017 It actually defaults to two ports. UDP 1194 and TCP 9443. If you have gotten the paid license for OpenVPN that allows more than two users you may need both ports. My understanding is that they alternate for load balancing. Quote Link to comment
Hoopster Posted December 5, 2017 Share Posted December 5, 2017 (edited) 1 hour ago, wgstarks said: It actually defaults to two ports. UDP 1194 and TCP 9443. If you have gotten the paid license for OpenVPN that allows more than two users you may need both ports. My understanding is that they alternate for load balancing. Good point. I have only used the free version and rarely have more than one connected user, so, I have only forwarded UDP 1194 and that has been sufficient. I assumed, perhaps incorrectly, that FreeMan - as his names suggests - was only using the free version ) Edited December 5, 2017 by Hoopster Quote Link to comment
FreeMan Posted December 6, 2017 Share Posted December 6, 2017 @Hoopster and @wgstarks - shocking, I know, but I opened those ports and now I can connect with no issue at all. I guess I was just busy having a brain dead evening. Thanks for the help. I am using the free version and probably will continue with that, but I may pony up for the paid version, depending on how much the kids use it. 20 hours ago, aptalca said: I repeat, do not add users through command line. aptalca - what will happen now that I've created two users at the command line? I've added the same user names via the web interface, and I've connected using one of them (the other is my local admin account that will probably never be used for an actual VPN connection. Will they be deleted next time the docker is updated, or are they good now since I've added them the proper way? Quote Link to comment
Jessie Posted December 6, 2017 Share Posted December 6, 2017 I've tried loading this on 3 different machines. Can't get to the login screen. Any hints? This is what I get below... Can’t reach this page Make sure the web address https://192.168.100.98:943 is correct Search for this site on Bing Refresh the page Check that all network cables are plugged in. Verify that airplane mode is turned off. Make sure your wireless switch is turned on. See if you can connect to mobile broadband. Restart your router. More information <id id="moreInformation">More information</id> This website could not be found. Error Code: INET_E_RESOURCE_NOT_FOUND Fix connection problems Quote Link to comment
FreeMan Posted December 6, 2017 Share Posted December 6, 2017 I've tried loading this on 3 different machines. Can't get to the login screen. Any hints? This is what I get below... Fix connection problemsI'm not the OpenVPN guru (see my issues just a few posts up), but I'm pretty sure you'll get more help if you post some logs and screen shots of your configuration instead of the browser error message.As a tip, try reading through my posts and the responses over the last 48 hours or so and double check all those items, you may well find your solution is already there. Then again, you may not...Sent from Tapatalk 1 Quote Link to comment
Jessie Posted December 7, 2017 Share Posted December 7, 2017 (edited) Thanks. I'll have a look. I just loaded the docker straight from the unraid apps without modifications as I was told it would just work. Docker says it has started but no go. The docker I was trying was Linuxserver's Edited December 7, 2017 by Jessie Quote Link to comment
FreeMan Posted December 7, 2017 Share Posted December 7, 2017 Thanks. I'll have a look. I just loaded the docker straight from the unraid apps without modifications as I was told it would just work. Docker says it has started but no go. The docker I was trying was Linuxserver's There wasn't much configuration necessary, but it did take some. Generally speaking, though, it did just work right out of the box.Sent from Tapatalk Quote Link to comment
wgstarks Posted December 7, 2017 Share Posted December 7, 2017 2 hours ago, Jessie said: I just loaded the docker straight from the unraid apps without modifications as I was told it would just work. Someone has mislead you. Most dockers require some configuration to work with your system. Be sure to follow the installation setup instructions linked in the OP. https://hub.docker.com/r/linuxserver/openvpn-as/ Quote Link to comment
H2O_King89 Posted December 8, 2017 Share Posted December 8, 2017 is this norm to make these many Routing Tables? Quote Link to comment
BSAVAG3 Posted December 8, 2017 Share Posted December 8, 2017 On 12/5/2017 at 2:20 AM, gridrunner said: I have actually made a start on a new video for OpenVPN-AS will be up in next couple of weeks, hopefully, end of next week... I cannot wait for the video as I followed the steps of previous but I'm unable to connect to it. Look forward to the video Quote Link to comment
wgstarks Posted December 8, 2017 Share Posted December 8, 2017 26 minutes ago, BSAVAG3 said: I cannot wait for the video as I followed the steps of previous but I'm unable to connect to it. Look forward to the video For now I would recommend the instructions linked in the OP- https://hub.docker.com/r/linuxserver/openvpn-as/ Scroll down to "Setting up the application". All steps are performed in the webgui unless specifically directed otherwise. If you run into any issues, post them. Quote Link to comment
BSAVAG3 Posted December 9, 2017 Share Posted December 9, 2017 For now I would recommend the instructions linked in the OP- https://hub.docker.com/r/linuxserver/openvpn-as/ Scroll down to "Setting up the application". All steps are performed in the webgui unless specifically directed otherwise. If you run into any issues, post them.Thank you, I will try when I get off work tonight.Sent from my SM-N950U using Tapatalk Quote Link to comment
FreeMan Posted December 9, 2017 Share Posted December 9, 2017 Thank you, I will try when I get off work tonight.Sent from my SM-N950U using TapatalkYeah, scroll up a few posts and look at the issues I had trying to follow the out of date video and the hand smack I got for it.Note: I really appreciate gridrunner's video effort and alpatca's advice. I'm not complaining about either!Sent from Tapatalk Quote Link to comment
BSAVAG3 Posted December 9, 2017 Share Posted December 9, 2017 Yea I was able to get it all setup just unable to connect. Even in the docker when I ran the test connection I got nothing Quote Link to comment
littlered Posted December 9, 2017 Share Posted December 9, 2017 Hello, Is it ok to use the command line to reset a password? I just tried to log in to the admin user I created (not the system admin) and the password I thought it was, did not work and I got a lockout message. If I use the code below would that mess things up? docker exec -it openvpn-as passwd admin Quote Link to comment
wgstarks Posted December 9, 2017 Share Posted December 9, 2017 If you have the docker setup correctly I don’t think you’ll be able to use the user “admin”. 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.