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?
client-connect env vars being sent
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sun Aug 04, 2013 4:14 pm
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: client-connect env vars being sent
hi there,
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.
do you want to push a route to your clients or you want to assign them different ips?????in which I want to push a certain route to new clients instead of allocating internal ips linearly the way openvpn does by default
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"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"