Using client.ovpn files with access server - possible?

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
owner66
OpenVpn Newbie
Posts: 2
Joined: Wed Apr 04, 2012 9:04 pm

Using client.ovpn files with access server - possible?

Post by owner66 » Wed Apr 04, 2012 9:17 pm

As the topic says.

I had an old 2.0.9 server running, and to connect i would load the windows installer and use client.ovpn file etc.
Everytime a windows client rebooted, the VPN would come back up because it was in Startup.
This 2.0.9 server went away.

I bought a 10 license OpenVPN Access Server.
It is installed and running and I can connect using the OpenVPN client in windows.
I want the client to automatically start on boot and connect to OpenVPN (these are network probes, no monitor mouse kbd etc) like it did with the old 2.0.9 installation.

How do i configure it to work with the old openvpn client?
Like export keys (i used to generate them per user) etc?

owner66
OpenVpn Newbie
Posts: 2
Joined: Wed Apr 04, 2012 9:04 pm

Re: Using client.ovpn files with access server - possible?

Post by owner66 » Thu Apr 05, 2012 6:47 pm

Ok, I answered my own question.
Most of the information is on the openvpn site in various locations :)
I got it going this way:

Setup RADIUS on Windows 2008 server to authenticate against Active Directory (you get MS CHAP-v2):
Configuring Active Directory (Windows 2008 Server R2) RADIUS Server for OpenVPN Access Server
http://docs.openvpn.net/frequently-aske ... ss-server/
Setup RADIUS on Access Server (need this to create users OTHER THAN the PAM user). Above link covers this also.

Once RADIUS setup, you can create User Permissions that get applied by matching the name you specify with the RADIUS login name. Also, you can check the log on Access Server to see RADIUS errors.

Configure Windows OpenVPN Client to Auto Authenticate. This is referred to as 'How to run the Desktop Client in Service Mode'.
http://openvpn.net/index.php/access-ser ... -mode.html

Post Reply