I have been setting up the router as a WireGuard Server (with endpoint IP) and access it through Windows Client.
So far my setup is something like this:
- A cable from my ISP router is coming to the internet port (ether1). I have assigned static IP address (from my ISP router's DHCP range) and internet connectivity is working.
- I have another cable coming into 2nd port (ether2) with a local IP assigned, this cable is connected to a switch that has all my local devices that I want to access over the tunnel at client's end.
- I have setup the WireGuard interface and peer both in Mikrotik router and Windows client.
- When I activate the tunnel on client side, the connection is successfully established (handshake success). I can ping the IP of WireGuard interface at Mikrotik router and the IP I have assigned to ether2 interface (local LAN at router side). And from Mikrotik router's terminal I can ping the WireGuard interface IP of the client.
- I can ping and access the devices on my LAN through Mikrotik router's terminal.
What I want to achieve is to be able to ping and access those device in my local LAN from Windows client side when I am connected to the tunnel.
For ease I have allowed all the traffic from both sides (0.0.0.0/0 for allowed IPs).
These configurations were done on a freshly reset router, no default configuration (hence no firewall or other settings).
I have tried adding static routes, firewall rules, changing allowed IPs but nothing seems to be working.
Anyone here who could point out if something else needs to be done will be really helping a lot.