I have a Mikrotik hAP2 AC2 with routerOS 7.9.
I have an ubuntu server on AWS that i use as a wireguard VPN. I am able to connect to the server using different Linux, Windows, Android clients and when the connection is established the clients get the public IP of the server so here everything is good.
Now I setup my Mikrotik router as a client to the server with Wireguard, and so far I was able to establish the connection. I am able to ping back and forth the server and mikrotik router successfully.
Last step, and here is where I am getting stuck, I would like all the clients on the LAN connecting to the Mikrotik router to be routed through the tunnel and use the Ubuntu server as the gateway.
I followed a few video tutorials and looks like a matter of setting up the routes properly on the Mikrotik. But at the last step, when I enable 0.0.0.0 and wire-aws as the gateway (pointed in the screenshot), I lose connection to the internet completely.
Could you guys take a look at the attached screenshot and guide me a bit, there is something I am doing wrong of course, but I feel like I am almost there. Thank you so much
I have an ubuntu server on AWS that i use as a wireguard VPN. I am able to connect to the server using different Linux, Windows, Android clients and when the connection is established the clients get the public IP of the server so here everything is good.
Now I setup my Mikrotik router as a client to the server with Wireguard, and so far I was able to establish the connection. I am able to ping back and forth the server and mikrotik router successfully.
Last step, and here is where I am getting stuck, I would like all the clients on the LAN connecting to the Mikrotik router to be routed through the tunnel and use the Ubuntu server as the gateway.
I followed a few video tutorials and looks like a matter of setting up the routes properly on the Mikrotik. But at the last step, when I enable 0.0.0.0 and wire-aws as the gateway (pointed in the screenshot), I lose connection to the internet completely.
Could you guys take a look at the attached screenshot and guide me a bit, there is something I am doing wrong of course, but I feel like I am almost there. Thank you so much
Statistics: Posted by axotik — Mon Mar 11, 2024 3:31 pm