How to find OpenVPN DHCP leases on pfSense
-
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 youAldomoro
-
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 :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 :
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.
-
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 -
@aldomoro said in How to find OpenVPN DHCP leases on pfSense:
I made a report in Eset inventory
What is that ?
-
@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.
-
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