OPNsense Forum

English Forums => Virtual private networks => Topic started by: pankaj on September 09, 2021, 05:48:28 AM

Title: OpenVPN DHCP leases
Post by: pankaj on September 09, 2021, 05:48:28 AM
Hi,

I have OpenVPN running on a OPNSense box but when I connect the VPN client, I do not see the IP address of OpenVPN client in the "/var/dhcpd/var/db/dhcpd.leases" file.

I wrote a shell script to monitor a specified subnet within "/var/dhcpd/var/db/dhcpd.leases" file and hence use the script to generate notification using Monit. But since VPN clients are not showing up in "/var/dhcpd/var/db/dhcpd.leases", I am back to square one  ;)

Is there another place to look for DHCP leases of OpenVPN client?
Thanks.