2

I've a OpenVPN 2.4.7 x86_64-pc-linux-gnu server running, which is providing around 120 routes.

There's an issue with one of the routes not being pushed to the clients.

In the server.conf file the route is added as follows:

push "route xx.xx.xx.xx 255.255.255.255"

The route works if it is added manually on the client device:

route add xx.xx.xx.xx/32 gateway

From the client side logs, the route does not appear at all in the list of server pushed routes and neither do any errors show up during the route push on the server side with the verbosity set to 9.

There are no conflicting routings, since each route is with an unique IP and the netmask of 255.255.255.255.

Allan P
  • 73
  • 6
  • can you run `route print` on the client and search for any relevant info there? – Yarin_007 May 21 '22 at 10:25
  • Yes, theres nothing relevant sadly, the route doesnt get pushed at all during the connection and it's also missing from the routing table (due to it not being pushed). Also for additional details: Tested this with 3 different client profiles, on Windows 10, Windows 11, Ubuntu 20.04 and Mac Catalina – Allan P May 21 '22 at 12:07

1 Answers1

0

Turns out the issue was from a configuration issue.

Ansible deployed the new configuration but the openvpn service kept on using an older configuration, even through service restarts.

The fix was to reboot the whole server causing openvpn to load the correct configuration.

Allan P
  • 73
  • 6