Importing users from another openvpn/configuration #155
-
Hello developers. Thank you for your incredible work! We want to use your library to implement admin UI with our openvpn. We will create another vm instance in GCP using terraform and configure it with anisble with your library. We need to migrate all old users and configurations from old GCP vm to the new VM(configuration). Is it possible? How we can do it? And also I will be appreciate if you give some advice on our way implementing this logic. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To import users and config your really just need to move all configs from easy-rsa old to easy-rsa folder. But remember that you also need to update some config files in setup/openvpn.conf and templates/client.tpl. Moreover change parameters in docker compose. For example, if you didn`t have auth in old vpn, so you need to set OVPN_AUTH env variable to false, and for users too. Be considerate! |
Beta Was this translation helpful? Give feedback.
To import users and config your really just need to move all configs from easy-rsa old to easy-rsa folder. But remember that you also need to update some config files in setup/openvpn.conf and templates/client.tpl. Moreover change parameters in docker compose. For example, if you didn`t have auth in old vpn, so you need to set OVPN_AUTH env variable to false, and for users too. Be considerate!