OpenVPN Auto Login?
OpenVPN Auto Login?
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?
Re: OpenVPN Auto Login?
http://wtware.com/docs5/openvpn.html
"Rename tested configuration file to openvpn.cfg and place it to configs directory on boot disk..."
"Rename tested configuration file to openvpn.cfg and place it to configs directory on boot disk..."
Re: OpenVPN Auto Login?
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
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?
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:
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?
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
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.
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
Code: Select all
auth-user-pass /bootmedia/configs/pass.txt
i.e.
Code: Select all
OpenVPNUserName
SomeComplexPassword
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?
It would be very great, we'll appreciate such work. Thank you.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
Re: OpenVPN Auto Login?
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
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?
Unable to download it. Something wrong with sharing permission.Bootalito wrote: ↑Thu Feb 13, 2020 6:39 am pdf format
https://drive.google.com/open?id=15ETUS ... 6sq0HZiwAq
Re: OpenVPN Auto Login?
I think its fixed now.
Re: OpenVPN Auto Login?
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?
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?