Hello,
I have several Mikrotiks with RouterOS version 7.
I used to have an SSTP server on my main Mikrotik and now I have set up WireGuard there too, but I'm having a problem with it.
On the main Mikrotik, I set a route for the client on SSTP (dst-address=10.25.0.0/24 (client range), gateway=10.25.1.2 (client IP address in SSTP server range)). And on the client side, of course, I set route (dst-address=10.25.1.0/24 (server range), gateway=10.25.1.1 (server IP address).
In this way, I achieved that the other clients of the SSTP server could reach the range of the client 10.25.1.2 (which is 10.25.0.0/24).
I'm trying to set the same thing with WireGuard, but something doesn't work for me there... The setting is basically the same with the difference that on the client side the route was automatically created for me (dst-address=10.25.10.0/24 (WireGuard server range), gateway =wg-client (WireGuard Interface name). When I add route (dst-address=10.25.10.0/24 (server range), gateway=10.25.10.1 (IP WireGuard server address)) it ignores it, I assume that because of automatic route.
The result is that when I ping, for example, the address 10.25.0.3 (one of devices on client router), I get the following:
Reply from 10.25.10.1: Destination host unreachable.
I am attaching screenshots as well.
Please, does anyone know what to do with setting that WireGuard clients will be able to access the range of another client thanks to the route?
Thanks in advance for any replies.