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

    OpenVPN client not able to reach remote LAN subnets in multi-site Wireguard setup

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 142 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.
    • D
      dataradical
      last edited by dataradical

      Hi!

      I recently moved a setup from a single site to a multi site (3 locations in different countries).

      • Location 1 LAN 192.168.10.0/24, Wireguard tunnel IP 172.16.0.1, OpenVPN client subnet 192.168.9.0/24
      • Location 2 LAN 192.168.29.0/24, Wireguard tunnel IP 172.16.0.2, OpenVPN client subnet 10.0.8.0/24
      • Location 3 LAN 192.168.165.0/24, Wireguard tunnel IP 172.16.0.3

      The 3 sites are connected together with Wireguard, having location 1 as the main site and site 2 & 3 connecting to there.
      The Wireguard setup works and all 3 sites can reach each other.

      I have OpenVPN configured in location 1 & 2, pending location 3, for remote/home users to connect.

      When connected to the location 2 OpenVPN server all works from a VPN client. I can reach all 3 locations.
      When connected to the location 1 OpenVPN server, which has been configure identical location 3, from a VPN client I can reach the location 1 LAN and location 2 LAN but not location 3 LAN.

      I think it's simply a missing route, but since location 1 is the hub I can't use the same config as in location 2 and set the OpenVPN network to point 192.168.9.0/24 to the Wireguard gateway of location 1 (172.16.0.1) as this is not an option. Should I instead set it to localhost or just the default WAN gateway ?

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