Getting IPs

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
BlastDV
OpenVpn Newbie
Posts: 2
Joined: Thu Jan 29, 2015 4:02 pm

Getting IPs

Post by BlastDV » Thu Jan 29, 2015 4:12 pm

Hi everyone,

I'm looking for a way to get the IPs used to access my VPN, in order to have a record of who's connecting to it.
Do you know any plugin or script that allow me to do this? It would be nice if it uses a Trap to retrieve the information, or at least syslog.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Getting IPs

Post by Traffic » Thu Jan 29, 2015 6:46 pm

BlastDV wrote:looking for a way to get the IPs used to access my VPN, in order to have a record of who's connecting to it.
you could use --client-connect script to log the client IP.

Post Reply