Link to home
Start Free TrialLog in
Avatar of Amin El-Zein
Amin El-Zein

asked on

openvpn access server files

Hello,
where I can locat the OpenVPN access server configuration file ?
thanks.
Avatar of noci
noci

Most probably /etc/openvpn   (assuming this is a default install on a generic linux)....
More details on the installation might be useful. (Distribution, versions, ...) Without such details is might be hard to tell.
Avatar of Amin El-Zein

ASKER

I download the vhd from official website
thanks.
Which one: Redhat, CentOS, Alpine, Debian, Ubuntu, Fedora, Gentoo, .....

Or this Here: The OpenVPN Appliance.
https://openvpn.net/index.php/access-server/download-openvpn-as-vm/202.html?osfamily=Virtual%20Appliance%20Windows%20(VHD)&ex=1

Then it is a Debian... ( based on the last few lines of the description in above link)    apt-get update && apt-get upgrade
But this is not only OpenVPN but a complete Appliance... which might be completely rebuilt.

The Openvpn configs i would expect to be in /etc/openvpn/

Starting point would be: the openvpn Appliance startup script in /etc/init.d/openvpnas so reading it there should be a call then starting the server process.  a --config  option to the openvpn command will tell the location of the file.

An appliciance has more config then just the service, also the /etc/network/interface etc. are needed.
I did't find it … is there any way to disable opt-verify from OpenVPN access server ?
thanks.
ASKER CERTIFIED SOLUTION
Avatar of Amin El-Zein
Amin El-Zein

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
according to the documentation  the script in /etc/init.d/openvpnas is the one that starts all....
So it should run openvpn daemon  and that requires specifying a config file....

I did unpack the ESXi version in VirtualBox (I have no HyperV),  and that one is clearly different from the documentation.
the config will be generated live fon as.conf and fed top openvpn through the stdin.... so the real config never exists...

Through the web interface how about advanced vpn options, and on the bottom (left) with server settings?
add: -opt-verify
(as the description above it tells).