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

    Reserve lease assignment

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 479 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.
    • M
      markn62
      last edited by

      I want to assign some rules to a specific client ip when connected to the OpenVpn server. How can this be done when OpenVpn is not a selectable interface within the Dhcp Server service? Thanx.

      1 Reply Last reply Reply Quote 0
      • R
        Ryu945
        last edited by

        If you set a DHCP client to have a static address, you can create a firewall rule that controls that particular IP on the LAN to use a particular VPN interface. That rule can further be modified with other custom parameters?

        Is this what you were asking about?

        M 2 Replies Last reply Reply Quote 0
        • M
          markn62 @Ryu945
          last edited by

          @ryu945 Yes, I know I need a vpn client ip to be static, that's my question, how? Are you suggesting PfSense can't set the client ip address, rather I have to set it static in the client software?

          1 Reply Last reply Reply Quote 0
          • M
            markn62 @Ryu945
            last edited by

            @ryu945 Found nothing on a Netgate forum search. Took a few hours but finally found the solution here. Needs a client specific override with the common name and the desired ip/subnet as an "advanced" entry i.e. ifconfig-push 192.168.98.5 255.255.255.248

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