Page 1 of 1

client-connect env vars being sent

Posted: Sun Aug 04, 2013 4:15 pm
by ciokan
I have this script in python in which I want to push a certain route to new clients instead of allocating internal ips linearly the way openvpn does by default but I don't know what env vars are being sent on the "client-connect/client-disconnect" scripts and I can't seem to find them on the internet.

Any help?

Re: client-connect env vars being sent

Posted: Mon Aug 05, 2013 6:18 am
by maikcat
hi there,
in which I want to push a certain route to new clients instead of allocating internal ips linearly the way openvpn does by default
do you want to push a route to your clients or you want to assign them different ips?????

anyway FYI openvpn can do both of them and you dont need to run any script of yours...

check out ccd files and ifconfig-push directive.

Michael.