OpenVPN Auto Login?

Post a reply

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: OpenVPN Auto Login?

Re: OpenVPN Auto Login?

by JPD » Fri Mar 20, 2020 1:41 am

First off, thanks so much for the PDF, it's super helpful. This PDF is perfect, and I'm trying to set up a remote work environment for multiple users. My IT guy says our current router will not support OpenVPN and he didn't seem open to buying a new one (he said we just paid a lot for the other one).

Would I be able to create a VPN server (using a RPI 4 running PiVPN) inside the office network (behind our router that doesn't support the openVPN), and then use this to encrypt the traffic between workstation and thin client?

Re: OpenVPN Auto Login?

by Bootalito » Thu Feb 13, 2020 6:37 pm

I think its fixed now.

Re: OpenVPN Auto Login?

by aka » Thu Feb 13, 2020 8:38 am

Bootalito wrote: Thu Feb 13, 2020 6:39 am pdf format
https://drive.google.com/open?id=15ETUS ... 6sq0HZiwAq
Unable to download it. Something wrong with sharing permission.

Re: OpenVPN Auto Login?

by Bootalito » Thu Feb 13, 2020 6:39 am

I created a tutorial on how to create a remote access station for a small business. I targeted the language for other small dental offices such as ours, so it may need some heavy tweaking if you decide to integrate the content into your online documentation. But I give you full permission to use the content.

OpenDocument Text file (sorry I use Libreoffice...it should only be a little mangled if opened in Word):
https://drive.google.com/open?id=1SFuLO ... ggXR-w5hfP

pdf format
https://drive.google.com/open?id=15ETUS ... 6sq0HZiwAq

Re: OpenVPN Auto Login?

by akatik » Thu Jan 23, 2020 6:25 am

Bootalito wrote: Fri Jan 17, 2020 2:31 am If the devs would like, I could provide a full write up with screen shots and pictures that they could use to update the documentation (especially the OpenVPN documentation page, which is really lacking) on how to provide a fully secure remote access station for an employee. Please let me know if this is something WTWare would find useful and I'll make some time to provide
It would be very great, we'll appreciate such work. Thank you.

Re: OpenVPN Auto Login?

by Bootalito » Fri Jan 17, 2020 2:31 am

It's been a while, but I just wanted to respond to help other people out in the future that aka's solution was the final solution

Code: Select all

auth-user-pass /bootmedia/configs/pass.txt
with pass.txt being a two line text file with the OpenVPN auth user name on the first line and the password on the second line.

i.e.

Code: Select all

OpenVPNUserName
SomeComplexPassword
I can confirm that WTWare 5.8.50/Rpi is working very well providing remote access for our office manager connecting to a pfsense router (v2.4.4-RELEASE-p3) via OpenVPN configured in the most secure way humanly possible (4096bit DH paramter, AES-256-GCM, only available in the most recent version of OpenVPN, using mode: "SSL/TLS + User Auth" with TLS key mode "TLS Encryption and Authentication". The raspberry pi is mounted to the back of a monitor via a VESA mount.

If the devs would like, I could provide a full write up with screen shots and pictures that they could use to update the documentation (especially the OpenVPN documentation page, which is really lacking) on how to provide a fully secure remote access station for an employee. Please let me know if this is something WTWare would find useful and I'll make some time to provide

Re: OpenVPN Auto Login?

by aka » Sat May 04, 2019 11:49 am

initrdConfig.cpp Line 439 is "openvpn did not understand your config and did not start".

More details in log: https://wtware.com/logs.html

Also try this line:

Code: Select all

auth-user-pass /bootmedia/configs/pass.txt

Re: OpenVPN Auto Login?

by Bootalito » Sat May 04, 2019 4:02 am

I think I figured it out but something is still wrong. In the OpenVPN.cfg file I added the following line:

auth-user-pass pass.txt

auth-user-pass was already there, I just added " pass.txt". I added a file called pass.txt with the username and password on two different lines, but I'm getting a WTWare error:

ERROR: INTERNAL ERROR
WTWare 5.8.50/RPi
File: initrdConfig.cpp
Line 439

Re: OpenVPN Auto Login?

by aka » Fri May 03, 2019 12:59 pm

http://wtware.com/docs5/openvpn.html

"Rename tested configuration file to openvpn.cfg and place it to configs directory on boot disk..."

OpenVPN Auto Login?

by Bootalito » Fri May 03, 2019 2:33 am

Is there a way to configure OpenVPN with the credentials for automatic login so the user does not have to enter them? Such as use the configuration file?

Top