OpenVPN server remote networks

Started by Juergen, October 14, 2021, 06:16:51 PM

Previous topic - Next topic
I have problems with the routes to remote networks.
This is not an issue with spaces in the config.. :-)

My configuration consists of an OpenVPN server with IPv4 Tunnel Network 10.0.3.0/24 and "Address Pool" and "Topology" set.
So my first client gets 10.0.3.2.
When i set IPv4 Remote Network "10.144.16.0/22,10.0.200.0/24" in server settings and client specific overrides these routes get set:
10.0.200.0/24      10.0.3.2           UGS      ovpns5
10.144.16.0/22     10.0.3.2           UGS      ovpns5

Which of course is only valid if the client is the first client which connects.

In the client specific overrides I also set the IP of the client: Advanced: ifconfig-push 10.0.3.2 255.255.255.0;

How do I get the route set correctly?

Thanx for any help!