Community discussions

MikroTik App
 
HannesKruger
just joined
Topic Author
Posts: 5
Joined: Wed Jul 28, 2021 11:42 am

OpenVPN pushed routes

Wed Jul 28, 2021 11:49 am

Hi

I have a MikroTik (ROS 6.47.10 LT) OpenVPN client that connects to a Linux OpenVPN server (v. 2.4.4)

I am pushing a few routes to the MikroTik from the server when it connects using a client-config-dir file that looks like this:
push-reset
ifconfig-push 172.28.0.52 10.188.174.58
push "route 10.211.0.3 255.255.255.255 vpn_gateway 25"

It correctly installs a route to 10.211.0.3 in the routing table, but it ignores the metric / distance 25

How do overcome this without adding a static route?
 
HannesKruger
just joined
Topic Author
Posts: 5
Joined: Wed Jul 28, 2021 11:42 am

Re: OpenVPN pushed routes

Mon Aug 02, 2021 12:11 pm

Update: It seems that this is not possible with MikroTik's current implementation of openvpn.

Who is online

Users browsing this forum: Bing [Bot], miks, Victoravv and 79 guests