I have configured an OpenVPN server that pushes 3 routes to clients as follows:
Server Config
# Push routes for VPN subnets
push "route 10.10.90.0 255.255.255.0"
push "route 10.10.40.0 255.255.255.0"
push "route 10.10.10.0 255.225.225.0"
push "route 10.10.90.0 255.255.255.0"
push "route 10.10.40.0 255.255.255.0"
push "route 10.10.10.0 255.225.225.0"
When a client connects I see the following logged:
Code: Select all
'PUSH_REPLY,route 10.10.90.0 255.255.255.0,route 10.10.40.0 255.255.255.0,route 10.10.10.0 255.225.225.0,route-gateway 172.21.0.1,topology subnet,ping 10,ping-restart 120,ifconfig 172.21.0.3 255.255.255.0,peer-id 0,cipher AES-256-GCM' (status=1)
However, on the client, I only see two of the routes setup:
Code: Select all
10.10.40/24
- Gateway: link#38
- Iface: utun9
- Flags: UCS
- IP Version: Internet
- Refs: 0
- Use: 0
- MTU: 1500
- Expire: -1
10.10.90/24
- Gateway: link#38
- Iface: utun9
- Flags: UCS
- IP Version: Internet
- Refs: 0
- Use: 0
- MTU: 1500
- Expire: -1
For the life of me, I can not figure out why this is happening. There does not appear to be any overlapping subnets. It just doesn't show up!
Any ideas or pointers to help me figure this out would be greatly appreciated. I am at a complete loss at the moment.
Thanks
Nick