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

How to find OpenVPN DHCP leases on pfSense

Scheduled Pinned Locked Moved OpenVPN
6 Posts 2 Posters 988 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.
  • A
    aldomoro
    last edited by Jun 15, 2023, 6:32 AM

    Hello

    I need to find who is connected to our OpenVPN via IP address 10.0.179.104 without waiting he is connected. Is anywhere a table of reserved IP addresses for OpenVPN clients?
    Thank you

    Aldomoro

    G 1 Reply Last reply Jun 15, 2023, 6:52 AM Reply Quote 0
    • G
      Gertjan @aldomoro
      last edited by Jun 15, 2023, 6:52 AM

      @aldomoro

      You've already concluded that you didn't have a DHCP server for the 'OpenVPN' (server) interface.

      That's because the OpenVPN server handles the IP allocation itself.
      You have giving it a network, like :

      56078f45-414d-4932-897c-091c39a5967f-image.png

      The server itself uses 192.168.3.1 as the network gateway.
      All the other IPs, starting from .2 to .254 will be given to the connected OpenVPN clients.

      Like :

      b574f93b-a1a2-479f-8828-958c5457743a-image.png

      If you are willing to dive into the OpenVPN server options and settings (good luck 👍 ) I guess you will find a way to assign "this-openvpn-client" to "that IP" so that every connecting client will alsways get the same network IP.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      A 1 Reply Last reply Jun 15, 2023, 9:21 AM Reply Quote 1
      • A
        aldomoro @Gertjan
        last edited by Jun 15, 2023, 9:21 AM

        Thank you @Gertjan
        At the end I made a report in Eset inventory and found all historically used IP addresses and I found my sinner

        G 1 Reply Last reply Jun 15, 2023, 10:23 AM Reply Quote 0
        • G
          Gertjan @aldomoro
          last edited by Jun 15, 2023, 10:23 AM

          @aldomoro said in How to find OpenVPN DHCP leases on pfSense:

          I made a report in Eset inventory

          What is that ?

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          A 1 Reply Last reply Jun 15, 2023, 12:46 PM Reply Quote 0
          • A
            aldomoro @Gertjan
            last edited by Jun 15, 2023, 12:46 PM

            @Gertjan said in How to find OpenVPN DHCP leases on pfSense:

            @aldomoro said in How to find OpenVPN DHCP leases on pfSense:

            I made a report in Eset inventory

            What is that ?

            We use Eset antivirus and it has own administrator console called Eset Protect where I can see inventory of all computers. So I created a report that show me all computers and all historically used IP addresses no matter if they are used on OpenVPN adapter or LAN adapter.
            2023-06-15_14h43_05.png

            G 1 Reply Last reply Jun 15, 2023, 12:59 PM Reply Quote 0
            • G
              Gertjan @aldomoro
              last edited by Jun 15, 2023, 12:59 PM

              @aldomoro

              Ok, thank for the feedback.

              I've no 'Eset', and said goodbye to the 'antivirus' world many years ago.
              I use 'pfSense' as my network inventory tool 😊

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received