Hello, I have OpenVPN configuration where I want to add all routes from up.sh and down.sh scripts manually. My setup also has route-noexec option in config file, so according to man pages I would expect that OpenVPN should not add any routes on its own:
* --route-noexec Don't add or remove routes automatically. Instead pass routes to --route-up script using environmental variables. * But it turns out that with topology P2P it still adds a route when setting up TUN with ifconfig command for pointopoint mode. My questions are: 1. Is it by design that OpenVPN still adds routes automatically with topology p2p and route-noexec set? I guess that openvpn has limited visibility over what ifconfig command does, so maybe this is the reason... 2. Should one use topology Subnet instead of P2P in such cases, to get pure control over what routes are being added? Regards, Ansis Atteka