Migration script?

Started by msturtz, April 17, 2025, 04:35:47 PM

Previous topic - Next topic
Hi,

Once 26.1 comes out, legacy OpenVPN configs will be deprecated will there be a migration tool or script to move those configs to the new Instances section?  Or should I work on migrating that myself before that?

Same question for ISC DHCP over to Kea DHCP, but that might be more complicated -- OpenVPN is still OpenVPN, whereas ISC and Kea are totally separate.  Also, in the GUI at least, ISC doesn't say anything about going away.

Thanks all!  :-)

Quote... OpenVPN configs will be deprecated will there be a migration tool or script to move those configs to the new Instances section?

I think many will be affected (yes, /me too) - maybe a community driven migration tool slurping the xml from the legacy cfg, digesting it and injecting the result into the right place in the config.xml would be great ...

I had only one OpenVPN server, when I posted in April I was working on a second.  now I have three -- one for site-to-site, one for road-warriors (split tunnel), and the third is road-warriors with default route (tunnel everything).

Since I was creating a new one, I did it as an "instance" -- and it's easy enough, so I deleted the original "server" and re-created it as an "instance".

DHCP will be another matter, but again it shouldn't be that complicated to re-create.

But I do wish they would provide a tool.  After update, wizard pops up "Hey, ISC DHCP is being deprecated, click here to migrate"...  Script runs, maybe you can see what it does before accepting.  It shuts down ISC, and starts Kea.  "OK, all done!"