client-connect env vars being sent

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).

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

Post Reply
ciokan
OpenVpn Newbie
Posts: 2
Joined: Sun Aug 04, 2013 4:14 pm

client-connect env vars being sent

Post by ciokan » Sun Aug 04, 2013 4:15 pm

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?

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: client-connect env vars being sent

Post by maikcat » Mon Aug 05, 2013 6:18 am

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.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Post Reply