Windows 7 server list of active clients assigned IP address

OpenVPN tutorials ranging from configuration to hacks to compilation will be posted here.

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

Locked
dcollet
OpenVpn Newbie
Posts: 1
Joined: Thu Apr 16, 2015 4:08 pm

Windows 7 server list of active clients assigned IP address

Post by dcollet » Thu Apr 16, 2015 5:49 pm

Can someone provide a command line query or utility that would allow me to see the list of IP addresses assigned to my actively connected clients?

I have been searching high and low for a deterministic way to identify the assigned client ip address my Windows 7 openvpn server. I am able to see the the Common Name in the log and I see the ipp.txt file has different IP addresses than what was actually assigned.

I have ifconfig-pool-persist ipp.txt un-commented
ipp.txt contains these two entries
piclient2,10.8.0.4
piclient,10.8.0.8

I stopped both the server and the client.
I first restarted windows server...
I then restarted openvpn on the piclient (linux machine) ... I expected piclient to be assigned 10.8.0.8

The resulting assignment for tun0
tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
link/none
inet 10.8.0.10 peer 10.8.0.9/32 scope global tun0

So, I am confused. The ip address assigned is 10.8.0.10 not what I expected 10.8.0.8

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

Re: Windows 7 server list of active clients assigned IP addr

Post by Traffic » Fri Apr 17, 2015 12:03 pm

Please post your configs and logs ..

Also, perhaps you are not aware of --topology net30

See --topology in The Manual v23x

Locked