Community discussions

MikroTik App
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Sun Apr 17, 2011 11:37 am

Static routing within ovpn server bridge

Fri Jul 22, 2022 12:08 pm


I need your help on the following routing use case:
I've set up an openvpn router with a couple of connected remote users on the same bridge.
Behind the connected ovpn clients mt routers, there some additional subnets that I need to get access from the ovpn bridge subnet.

Windows PC: ---> MT ovpn router <------- MT ovpn client (with subnet <------ host


So for the PC to access host, I've added a static route on the MT ovpn server:
/ip route
add distance=1 dst-address= gateway=

The traceroute on the Windows PC is as follows:

C:\Users\user>tracert -d

Tracing route to over a maximum of 30 hops

1 <1 ms <1 ms <1 ms
2 10 ms 14 ms 14 ms
3 14 ms 16 ms 7 ms

Trace complete.

With this config, ping icmp is working. BUT tcp is not working. Wireshark traces reveal TCP retransmissions.
Then I managed to follow another approach by adding the static route on the windows pc.

C:\Windows\system32>route add mask

C:\Windows\system32>tracert -d

Tracing route to over a maximum of 30 hops

1 7 ms 7 ms 7 ms
2 8 ms 7 ms 7 ms

Trace complete.

Now with this approach, TCP is also working with success. But the traffic is not passing from the MT ovpn router.

However I need to avoid adding static routes on the various PCs and server. How can this be resolved on the MT ovpn router?

Who is online

Users browsing this forum: No registered users and 0 guests