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

    PF 2 OpenVpn how to set client static ip (CSC)

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 4.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.
    • T
      tbaror
      last edited by

      Dear All,

      I have OpenVpn server set on 2.0-BETA5 (i386) built on Sun Dec 26 , i need to set to one of our clients specific ip address without receiving from Dynamic IP.

      I was  suggested to search for CSC (client-specific config) but i didn't really found any how to manual to set it.

      Please advice

      Thanks
      opvp1.png
      opvp1.png_thumb

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        See attached. When you add a CSC/CSO (Not sure why the tab name was changed, it's now Client Specific Overrides in the GUI) just put in the client's certificate/username and put a specific /30 net inside of the tunnel network you setup on the main OpenVPN page.

        For more info on how OpenVPN assigns IPs out of that /30 (Null route, server IP, client IP, broadcast IP) see here:
        http://openvpn.net/index.php/open-source/faq/77-server/273-qifconfig-poolq-option-use-a-30-subnet-4-private-ip-addresses-per-client-when-used-in-tun-mode.html

        openvpn_csc.png
        openvpn_csc.png_thumb

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • T
          tbaror
          last edited by

          @jimp:

          See attached. When you add a CSC/CSO (Not sure why the tab name was changed, it's now Client Specific Overrides in the GUI) just put in the client's certificate/username and put a specific /30 net inside of the tunnel network you setup on the main OpenVPN page.

          For more info on how OpenVPN assigns IPs out of that /30 (Null route, server IP, client IP, broadcast IP) see here:
          http://openvpn.net/index.php/open-source/faq/77-server/273-qifconfig-poolq-option-use-a-30-subnet-4-private-ip-addresses-per-client-when-used-in-tun-mode.html

          Thanks Jimp  :)

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