Community discussions

MikroTik App
 
patriarch
just joined
Topic Author
Posts: 3
Joined: Mon Mar 27, 2023 7:35 pm

Cannot access my LAN over remote WireGuard VPN

Sun Jan 28, 2024 11:23 am

Hello,
i have probably easy problem, but i can't solve it myself. Im looked on the forum similar problem but i can't find any working solution for me.

I have MT router (10.10.10.1, network 10.10.10.0/24) and my own NAS server (10.10.10.2). All working fine, if i don't using WireGuard connection to other location.

I sometimes need to use WireGuard VPN connection to connect to the other LAN in other localization for work. After i set up a WireGuard connection i can access remote LAN (Router - also MT, NAS server and other client's). But after im connected to the WireGuard VPN i cannot access my local NAS Server.

What firewall rule (or something else) i need to setup on remote router to allow VPN users to reach their own LAN? I have admin rights for their MT router.

Network diagram how its look now

Image

How its should work after WireGuard conneciotns

Image

Do you have any kind solution for this problem?
 
rplant
Member
Member
Posts: 314
Joined: Fri Sep 29, 2017 11:42 am

Re: Cannot access my LAN over remote WireGuard VPN

Tue Jan 30, 2024 4:05 am

My Guess is the allowed IPs setting in your PC's wireguard client.

A setting that should work would be 172.16.0.0/24, 10.11.11.0/24
 
patriarch
just joined
Topic Author
Posts: 3
Joined: Mon Mar 27, 2023 7:35 pm

Re: Cannot access my LAN over remote WireGuard VPN

Thu Feb 08, 2024 9:21 pm

Unfortunately it is not solving the case.
My allowed IP is set as 0.0.0.0/0, but for test i set it to my local network, and i still cannot access my local nas :(
 
patriarch
just joined
Topic Author
Posts: 3
Joined: Mon Mar 27, 2023 7:35 pm

Re: Cannot access my LAN over remote WireGuard VPN

Thu Feb 08, 2024 9:56 pm

Ok i found a solution.
In AllowedIPs must be set to 0.0.0.0/1, 128.0.0.0/1. 0.0.0.0/0 means all the traffic goes throught the VPN Gateway and it avoid LAN.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 24 guests