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

    Create site-to-site tunnel with bridged like network

    Scheduled Pinned Locked Moved WireGuard
    4 Posts 3 Posters 659 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.
    • P
      pszafer
      last edited by

      Hi,

      I have STB's which works in multi-room setup.
      Requirements are that they can discovery itself over MDNS, easy to achieve with Avahi, but second required thing is that both are on same subnet.

      I have Network on:

      • router 1 - 192.168.1.0/24, router address: 192.168.1.1/24
      • router 2 - 192.168.1.0/24, router address: 192.168.1.99/24

      With OpenVPN it was pretty easy.
      I created TAP interface, assigned interfaces and bridged them.
      Then I just had to block DNS requests accross tunnel and it was working.

      Now I want to try Wireguard,
      Will it work if I put in
      Allowed IPs - 10.15.210.2/32, 192.168.1.0/24
      or will it hang as it will try to add second 192.168.1./24 to routing table.

      Any thoughts how to achieve what I want with Wireguard?

      cmcdonaldC 1 Reply Last reply Reply Quote 0
      • cmcdonaldC
        cmcdonald Netgate Developer @pszafer
        last edited by

        @pszafer WireGuard is a layer 3 tunnel, not a layer 2 tunnel like OpenVPN TAP interfaces. This isn't possible with WG.

        Need help fast? https://www.netgate.com/support

        P 1 Reply Last reply Reply Quote 1
        • P
          pszafer @cmcdonald
          last edited by

          @vbman213 I know that WireGuard is L3, but would it work if I created network

          • 192.168.1.0/25
          • 192.168.1.128/25

          one router would be 192.168.1.1, second 192.168.1.129.
          STB I'd give /24 mask, then would be then possible to somehow pass mdns packets through Avahi so mdns will appear as on same subnet?

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            No, that is not possible.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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