Open kingy444 opened 7 years ago
Hi!
Installation on an existing openvpn server should be possible. But make a save of your existing /etc/openvpn
directory before! You would just have to copy the scripts and some directives from the server.conf file (in particular these lines -> https://github.com/Chocobozzz/OpenVPN-Admin/blob/master/installation/server.conf#L80)
Having an "install of existing openvpn server" would be very useful. Do not hesitate to make a PR if you're interested in such feature :)
the way i read the config screp, if i removed the lines mentioned i dont think it will actually even touch your current config, does this sound right to you?
Yep.
@kingy444 did you try it? I'm planning to install without removing my existing OpenVPN server.
I would like to install over the top of an existing OpenVPN config (and not start again from scratch) this will be very useful for logs etc moving forward.
looking at the install.sh it appears this could be accomplished by removing lines 88-199 in install.sh. I would hate to miss something and destroy my current config so hoping you can clarify any other reason not to install this post installing OpenVPN given you put this all together?
Could either have 2 install files or the install file dynamically detects a current install (I would go the former to prevent people accidentally selecting to overwrite an installation)