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

    Assign ip to client using dhcp

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 2.3k 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
      c0d3r
      last edited by

      Hello,

      I want to perform a basic pfsense/openvpn setup :

      WAN interface connected to internet
      LAN interface connected to internal network (let's say 192.168.1.0/24)

      I have a DHCP server in the 192.168.1.0 network, which hands out ip addresses in the same ip subnet.

      How can I configure the openvpn component to hand out IP addresses from the DHCP server (dhcp request / dhcp relay) to windows xp & vista clients connecting via openvpn ?

      I do not want to use a separate IP subnet for this, I just want to use the existing infrastructure

      thanks

      c

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        Not possible (yet).
        You would have to bridge the OpenVPN-interface to the LAN which is not supported and seems to be unstable in certain situations.

        http://doc.pfsense.org/index.php/VPN_Capability_OpenVPN
        Has some instructions on how to get the bridge to work.
        Search the forum for feedback from people that actually did this.
        It seems to become unstable if you use CARP.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

          I'll give it a try

          Any idea if this is going to be supported in one of the next releases ?

          thanks

          c

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

            quick update : procedure doesn't work for me

            during boot, I get an error regarding the tap0 device (about the fact that I cannot be added to the bridge)

            I'm not sure how to set up the tap0 - can anyone give me some guidance ?

            thanks

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