Community discussions

MikroTik App
 
ustix
just joined
Topic Author
Posts: 1
Joined: Mon Jan 02, 2023 4:15 pm

Reaching another subnet through WireGuard

Tue Jan 03, 2023 4:19 pm

Hi all!
So I don't have a lot of experience in networking, but I think I have problem with the new version of RouterOS.
I have changed it yesterday to 7.6 from 6.49 to use site to site Wireguard which is working, and it was very easy to install.
Since then I have a problem which I was not able to fix using only Wireguard, but I have made a semi-solution which I am not happy with (but it's working).

There are two subnets in this example: 192.168.77.1 (router in one city) and 192.168.67.1 (router in another city). They are WireGuarded together, working perfectly. On the side of 192.168.77.1 there is an OpenVPN connection which estabilished to site: 192.168.101.101. This is for reaching an internal site of an external company at 192.168.101.101. I would like to access that site from the 192.168.67.1 subnet too, but I am not able to with WireGuard.
Before upgrading the RouterOS there was an OpenVPN connection between 192.168.77.1 and 192.168.67.1 (instead of WireGuard) where it was easy to make a route in IP->Routes which was the following:
Dst. address: 192.168.101.0/24, Gateway: ovpn-connection, Distance: 1, Scope: 30, Target scope: 10.
This way it was working as intended, and as I have written before there was a semi-solution, which was to use the OpenVPN too, but only for routing 192.168.101.101 (not for the full site to site connection). But as I said I don't want to use the openvpn at all only for that purpose, but I am not able to Route it through the wireguard tunnel.
Do I have to provide more information, or is it an understandable example?

Thank you all for the help!

Who is online

Users browsing this forum: dmconde and 52 guests