OpenVPNAS Client Autologin with Proxy

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
TimGuyUK
OpenVpn Newbie
Posts: 3
Joined: Mon Jun 27, 2016 1:34 pm

OpenVPNAS Client Autologin with Proxy

Post by TimGuyUK » Mon Jun 27, 2016 1:53 pm

I was to have a always on VPN connection from my OpenVPNAS Clients.

Client 1, Server 2012R2 no proxy. Autologin profile works perfectly. Even after a reboot it auto logins as the system while the client sits on the logon page on the console.

Client2, Also server 2012R2 but this time it needs a proxy. Logged into the console the connection works but if I reboot I cant get the same results with it restart but not logged on. Do the proxy credentials needs to be added to the config file maybe? Can it be done?

Regards

Tim

TimGuyUK
OpenVpn Newbie
Posts: 3
Joined: Mon Jun 27, 2016 1:34 pm

Re: OpenVPNAS Client Autologin with Proxy

Post by TimGuyUK » Mon Jun 27, 2016 2:51 pm

OK. Brilliant Openvpnas support came back to me as quickly as Id typed this out and is below. For clarification on what is post below I had Modify

1. Added the line http-proxy ntlm.proxy.tld 3128 c:\\program files (x86)\OpenVPN\Config\proxy.ini" into the client.ovpn file
2. Created a proxy.ini file in the same same folder (could be a different one) with two lines, Line1 - Username and Line2 - Password (rather than the <http-proxy-user-pass> and </http-proxy-user-pass> at beginning and end.
3. Set the OpenVPN Service as Auto

Original Post from Support
"Technically, the OpenVPN Connect Client is meant for Windows client platforms and not the server platforms. You could instead use the program OpenVPN GUI. The installer for that comes with the option to install an 'openvpn' service. That service reads file in the c:\program files (x86)\openvpn\config folder and starts them automatically in the background. Access Server autologin profiles are suitable for this. The OpenVPN GUI program itself need not be used. After installation of the openvpn service simply set it to automatically start at bootup.

The client.ovpn file itself can contain the requires http proxy settings, which the open source program will pick up and use;

http-proxy ntlm.proxy.tld 3128 auto-nct
<http-proxy-user-pass>
myusername
mypassword
</http-proxy-user-pass>"

Post Reply