Linux – Reload OpenVPN config without restarting the process

linuxopenvpnUbuntu

I have the config in /etc/openvpn/server.conf.

Most time I update routing.

In the init script there's no case for reload. The service openvpn restart is just stop and then start the process, which obviously will kick everybody off (but I don't want to).

Best Answer

If you need to immediately propagate new routes to the connected clients, you have to kick off anybody and let them reconnect, as routes are pushed only after connection establishment.