Migrate normal server to access server

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
L302
OpenVpn Newbie
Posts: 1
Joined: Sun Oct 02, 2022 11:03 am

Migrate normal server to access server

Post by L302 » Sun Oct 02, 2022 11:05 am

Hey guys,

I'm running an openvpn server by pivpn and I want to switch to an OpenVPN Access server. Is there an comfortable way to transfer my pivpn's config files?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1038
Joined: Tue Feb 16, 2021 10:41 am

Re: Migrate normal server to access server

Post by openvpn_inc » Sun Oct 02, 2022 11:33 am

Hello L302,

Without even having seen your configs I can state that it's very unlikely it can be easily converted. Taking an open source based configuration and changing that to fit into what Access Server prepares for you is not going to be a trivial operation. If by chance the configuration is similar enough to what Access Server sets up, you may have a chance at doing it, but you'll have to edit database files manually, and even then there's a chance there's some configuration used that goes against the defaults that Access Server has. And while that may be adjusted, it's not likely to be an easy process.

I would advise you to just start with a fresh Access Server config and then providing your VPN clients with the new config files that are downloaded from and prepared by your Access Server.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1038
Joined: Tue Feb 16, 2021 10:41 am

Re: Migrate normal server to access server

Post by openvpn_inc » Sun Oct 02, 2022 12:19 pm

A few words to add:

You could set up your easy-rsa (or whatever TLS PKI frontend pivpn uses) as an external PKI for Access Server. But if you did that, you would be losing the greatest convenience feature of Access Server. The built-in PKI (and automatic user profile generation) takes away much of the administrative pain of running a community version openvpn server.

I'd definitely recommend starting over! I've seen both sides of this coin, and Access Server is much nicer.

regards, rob0
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply