and keep in mind that even 'ifconfig-pool-persist' do not GUARANTEE
the same client will always get the same IP address. From manual page:
Note that the entries in this file are treated by OpenVPN as suggestions
only, based on past associations between a common name and IP address.
They do not guarantee that the given common name will always receive the
given IP address. If you want guaranteed assignment, use *--ifconfig-push*
Em 28/06/17 10:25, Joe Patterson escreveu:
I don't think you can with that config, but there are things that you
could do to change it so you can. If you add a "status" line, you'll
get a status file listing connected systems and their IP's. If you
add a "management" line, you can telnet in and run the "status"
command, and get a list of connected systems and their IP's. If you
add an 'ifconfig-pool-persist" line, you will get a file with
user-to-IP mappings, though there will be no indication of which are
currently connected. *without* the ifconfig-pool-persist, then there
isn't really a concept of a "lease", IP addresses go back into the
pool as soon as the client disconnects (at least I'm fairly sure of
that). But with the management interface, you can both see connected
clients and their IP addresses, and, if you wish, kill their connection.
And, of course, you can combine all three and have access to tons of
info in multiple ways.
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
[email protected]
My SPAMTRAP, do not email it
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users