Hi,

On Tue, Jul 15, 2014 at 11:49:17AM +0200, Marine B wrote:
> I thought about using a custom plugin which will do the trick, but I'm far
> from being really good in C, and I need it soon.

Plugin or client-connect-script doesn't make a difference.  Both can do
about the same thing: generate config fragments that do the same things
a ccd/ config file would do.

The point is that the OpenVPN server itself cannot handle multiple IP
pools, so if you want to assign from two different pools, your script
(or plugin) will need to do the pool handling, and then tell OpenVPN

  ifconfig-push 10.2.3.4 255.255.255.0

to make it tell the client "your IP is 10.2.3.4" (assuming "topology subnet").

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgpyNDLuvgIaQ.pgp
Description: PGP signature

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to