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

    Route all OpenVPN tunnel network traffic to LAN network for Apple HomeKit?

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 1 Posters 584 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.
    • C
      CCNewb
      last edited by CCNewb

      Happy New Years, fine gents.

      My problem:
      Layer 3 tunnel network is a separate subnet from my LAN network subnet. Local discovery on VPN network is blind to LAN subnet.

      This causes a problem since many apps discover devices only on the same subnet that they get an IP.

      Another issue:
      iOS OpenVPN client does not support TAP networks, only tunnel networks. TAP would solve my problem since it would bridge me on the LAN network, then all local devices would be discoverable.

      How do I configure OpenVPN so devices on VPN subnet 192.168.101.0/24 automatically find all LAN devices that live on 192.168.100.0/24? I can ping back and forth all day no problem, but local discovery is the issue.

      One solution is to switch to Android and get the OpenVPN client that supports TAP networks. Being on the same subnet as your main LAN devices makes things so much easier...

      1 Reply Last reply Reply Quote 0
      • C
        CCNewb
        last edited by CCNewb

        This is easily resolved with the "Avahi" package. Installed and enabled with default settings-- it will repeat the broadcast requests across all subnets, so devices on LAN network become discoverable to you while connected through OpenVPN network (different subnet).

        Just logging the answer I found for others. Thanks

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