• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.9k 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 Sep 24, 2011, 7:23 PM

    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
    • C
      Cry Havok
      last edited by Sep 24, 2011, 10:03 PM

      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 Sep 27, 2011, 9:50 PM

        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
        • C
          Cry Havok
          last edited by Sep 27, 2011, 10:33 PM

          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
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received