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

    Set static IP for 1 client machine on openvpn

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 498 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.
    • S
      stevetingate
      last edited by

      Hi

      We have 1 client pc that uses openvpn to connect to our pfsense box running openvpn, i want to see if theres a way to create a reservation for this client machine to get the same ip everytime it connects to open vpn ?

      the vpn is using its own virtual network

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        If you have only one client who connects to the server, he gets the same IP on each connection anyway and you can also control access by the whole tunnel subnet.

        If you have multiple clients take a look at Client Specific Overrides.
        https://doc.pfsense.org/index.php/OpenVPN_Settings
        https://doc.pfsense.org/index.php/OpenVPN_multi_purpose_single_server#OpenVPN_Client_specific_overrides

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