Route to a LAN VPN

Hi, I have my mikrotik configured with two Internet connections, with mangle and queues, and I have a PC connected to the LAN (192.168.88.2) as a client to an external OpenVPN server (10.8.0.10). If I manually add the route to that VPN connection (route add 10.8.0.0/24 192.168.88.2) in other PCs connected to the same LAN it works fine. Now I want my Mikrotik to make that route, but i can’t find how.

The only VPN protocol, at which Mikrotik currently supports pushing routes to a Windows client, is IKEv2.

Well you must be wrong, since i managed to reach the Ovpn server but i can’t reach further:

tracert 10.8.0.1

1 <1 ms <1 ms <1 ms 192.168.88.2
2 <1 ms <1 ms <1 ms 192.168.88.2
3 39 ms 37 ms 38 ms NODE [10.8.0.1]

Im not routing protocols, im trying to route packets to an Ovpn client with ipforward enabled.

Solved, Mangle > prerouting Src 192.168.88.0/24 Dst 10.8.0.0/24 > Action: Route 192.168.88.2
And then put the rule first.

What I wrote was not wrong as such, but it was an answer to a question you didn’t actually ask :slight_smile:

Was it not sufficient to add a regular route,
/ip route
add dst-address=10.8.0.0/24 gateway=192.168.88.2

rather than a mangle/prerouting rule with action=route?

If it wasn’t, one reason may have been other rules in your firewall (filter or nat), another reason may have been that the other hosts in the LAN do not accept ICMP redirects the RouterOS sends when the IP address of the gateway is in the same subnet like the source address of the packet being routed.

Yes, there are other mangle rules as i mentioned in my first post, that’s why regular routes weren’t working .
Thankyou.