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 908 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

      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

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @aldomoro
        last edited by

        @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 Reply Quote 1
        • A
          aldomoro @Gertjan
          last edited by

          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

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @aldomoro
            last edited by

            @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 Reply Quote 0
            • A
              aldomoro @Gertjan
              last edited by

              @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

              GertjanG 1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan @aldomoro
                last edited by

                @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
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.