Only local IP's getting routed through VPN Server

Hey! I set up an OpenVPN Server on an Ubuntu Server VM inside ESXi 6.7 using this script:

https://github.com/angristan/openvpn-install

I need to access the local services running on the, e.g. 192.168.xxx.xxx, which works just fine. But I dont want all my network traffic being routed through the VPN Server. So if i reach out to 192.168.xxx.xxx I get the Service running on this IP in the local network where the server is in, but if I try to reach e.g. google.com the request does not get routed through the VPN. How can I achieve this?

OpenVPN-Host: Ubuntu Server 22.04.3 LTS | OpenVPN 2.5.5

Connecting Client: EndeavourOS | OpenVPN 2.6.6

Do you even have an issue? What you’re describing is how the VPN should work out of the box.

Don’t redirect-gateway def1.

the issue is that it doesnt behave like it should.

“Don’t redirect-gateway def1.” Is that a client- or serversided setting