Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Need help with IPSEC-IPSEC-Wireguard setup

    Scheduled Pinned Locked Moved IPsec
    2 Posts 1 Posters 554 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      frika
      last edited by

      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.

      F 1 Reply Last reply Reply Quote 0
      • F
        frika @frika
        last edited by

        @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).

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.