|
|
Yaoning Tao wrote:
This is what I understand:
when new client connect with VPN server and his IP is
192.168.21.2, we use
"learn-address add 192.168.21.2 ./Script" use the script file to
generate the firewall
for this client. When he disconnect, we use "learn-address
delete 192.168.21.2 ./scritp"
to do same thing.
It's correct?
No.
the directive is simply "learn-address ./SCRIPT". When a user connects
authenticating with a certificate CN and is given the IP 192.168.21.2,
"./SCRIPT add 192.168.21.2 CN" is called. The environment variable
script_type will also be set to "learn-address".
This is well-documented in the man page; please read it before posting
-- and post to or CC the list rather than sending private mailo.
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|