Automatically pushing local private network routes?
-
I am not sure if there is an easy way to explain this. But I will try...
We have a pfSense1 where some IPSec tunnels are terminated, and another pfSense2 which connects to it using OpenVPN.
We are regularly updating IPSec tunnels and then we need to update the routes pushed from pfSense1 OpenVPN configuration.
Is there a way for pfSense to configure OpenVPN server so it will automatically update the pfSense1 OpenVPN server configuration with correct routes to push?
In our case all the routes which should be pused over OpenVPN are private networks (but we do not want to push the whole private network space). It could be enough to detect all local routes with private IPs for building a list to populate OpenVPN push routes for example.
Any ideas? I know it is a cumbersome situation :) Thanks!