Need help with IPSEC-IPSEC-Wireguard setup
-
Hello,
This is my config Ubuntu server-1 20.04 IPSEC vpn -> IPSEC vpn Ubuntu server-2 20.04 Wireguard VPN -> Wireguard vpn Mikrotik.
My problem is that I can't ping/make connection from Ubuntu server-1 to the mikrotik. I get 'Destination Host Unreachable' which is a route issue (my guess) the problem is how do I fix it. I have 0 issues with this setup when both of the end of my ipsec vpn are within the same range however the configuration i need has both of them with different subnets. In the case where the subnets are different I can do anything from the mikrotik copy files ping etc. However from Ubuntu server i can only ping/access Ubuntu server-2.
Any ideas will be welcome.When i try to ping anything on the Mikrotik end all I get is host unreachable and from what i have gathered so far I think that the pings are simply not leaving Ubuntu server-1 and get to ubuntu server-2 in order to be forwarded to anywhere.
My question is what exactly needs to be done? The routing seems to be working to the point where I have connection to between Ubuntu server 1 and 2 but I need to add the Mikrotik to have access to the lan.
Thank you in advance for your suggestions/help.
-
@frika issue resolved. In order for the outside routed to gain access I had to extend the subnet of the Ubuntu server-2 (ubuntu server-2 and mikrotik have to be within the same range/subnet).