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

    Possible to have clients recieve address from internal lan subnet

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 1.8k 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.
    • J
      jaredadams
      last edited by

      Looking to get clients to appear as if they're on my internal LAN (same subnet)

      and if so, would broadcasts come through?

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        Yes, it's called Bridge mode (tap) instead of Routed mode (tun). At that point broadcasts will cross the VPN, with the associated overheads.

        1 Reply Last reply Reply Quote 0
        • J
          jaredadams
          last edited by

          Thank you for the reply that was most helpful.

          Now I have a couple other questions lol.

          When I was using tun I set a tunnel network 172.17.0.0/16.  My internal LAN being 172.16.0.0/16

          Do I set the tunnel network to the same as my internal LAN?

          Also what IP addresses will be assigned?  I'd like to relay DHCP to my internal server but in the DHCP relay config there is no option to bind it to the OpenVPN interface.

          Thanks so much for anymore help.

          1 Reply Last reply Reply Quote 0
          • Cry HavokC
            Cry Havok
            last edited by

            There is no tunnel network - when using TAP the client is effectively directly connected to the LAN. It gets a DHCP lease from the LAN DHCP server.

            I would recommend you read the OpenVPN documentation so you understand the basics of what you're dealing with.

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