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

    2.7.0-RELEASE (amd64) Static IP configuration for OpenVPN clients

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 200 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.
    • R
      rustem
      last edited by

      I want to define a static ip for clints in the OPENVPN connection, but it does not work.
      My OPENVPN settings are as follows.

      7c6c9139-f925-4a9e-a063-a32895201ace-image.png
      7631e784-c393-42a7-8165-b9483ade5c88-image.png
      255e13c6-35b7-484a-833b-0f337b9e415f-image.png
      f01c27d1-9267-474b-af94-4d2ecf66d553-image.png
      e742e754-1781-44a6-9ca8-360fe89c23ec-image.png
      d5f5d449-105a-429b-af38-a332f21d6f76-image.png
      7849c9e0-2b9a-4593-aecc-ab548bedb48e-image.png

      Pleas Help me

      marcelobeckmannM 1 Reply Last reply Reply Quote 0
      • marcelobeckmannM
        marcelobeckmann @rustem
        last edited by

        @rustem
        To assign a specific IP address to a VPN client, I use the "Client Specific Overrides" tab, it's where you can select a client by its "Common Name" (the client certificate name, ou the username for VPNs utilizing password authentication), select the VPN server in the Server List, and can use the ifconfig-push directive at the end of the page, in Advanced field.
        Also, the netmask that you put in ifconfig-push seems wrong, you put 255.255.255.255 instead of 255.255.255.0 (the netmaks of your tunnel network).

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