fondpiggy wroteHi, krzee.
Sorry, I can’t quite understand the solution that you said. Could you please explain more detail?
https://www.secure-computing.net/wiki/index.php/OpenVPN/RIPRouting
see "what didnt work"
How can I configure openvpn server to execute a special script when a special client connected ?
Like ccd file script, it is only executed when special client connected, Not for all client.
--client-connect <script>, runs script on client connection. This can be useful for generating firewall rules dynamicly, or for assigning static ips. This can do anything that a ccd (see !ccd) entry can do, but dynamicly... to use it that way, you should write your dynamic ccd commands to the file named by $1