Hello!
I'm looking for a more dynamic OpenVPN "site to multi-site" solution, currently, it works but, it's very static and requires server restart often (which is really bad).
The whole solution is based on Ubuntu 18.04 and default OpenVPN packages from it.
Let me try to explain it... The network prototype that I'm building today, have 1 OpenVPN Access Server, plus 1~50 remote offices/labs.
Main OpenVPN Server Site 1: 10.101.0.0/16
Site 2: 10.102.0.0/16
Site 3: 10.103.0.0/16
...
Site 50: 10.150.0.0/16
I can deploy the OpenVPN Server site and, let's say, 2 remote sites. They all talk to each other!
According to the OpenVPN docs, at the server side, the remote site subnet must be declared twice, as follows:
Site 1 (server):
---
# cat /etc/openvpn/ccd/site2
iroute 10.102.0.0 255.255.0.0
-
# grep 102 /etc/openvpn/server.conf
route 10.102.0.0 255.255.0.0
---
So, the problem that I'm facing is that to add a new site (that doesn't exist yet), I need to change the "/etc/openvpn/server.conf" and then, restart the server!! It kills everybody.
I want to be able to add/remove remote sites without restarting the main server, is it possible?
Worth to mention that, on Ubuntu, the command `systemctl reload
openvpn@server.service` fails, error:
Jul 29 19:56:55 ovpn-s2s-1 kill[25844]: kill: (25826): Operation not permitted
Maybe this is the source of my problem?
Thanks!
Thiago