Thanks for your answers,
That's what I did, my plugin on client connect generate a client config
file telling him his IP adresses, and my plugin is handeling the pool.
But I still need to work on it.
Althought I think that this feature would be awsome !!
2014-07-15 11:57 GMT+02:00 David Sommerseth <openvpn.l...@topphemmelig.net>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 15/07/14 11:49, 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.
>
> - --client-connect is a script hook. See the "SCRIPTING AND
> ENVIRONMENTAL VARIABLES" section in the man page for more info.
>
>
> - --
> kind regards,
>
> David Sommerseth
>
>
> > 2014-07-15 11:43 GMT+02:00 Gert Doering <g...@greenie.muc.de
> > <mailto:g...@greenie.muc.de>>:
> >
> > Hi,
> >
> > On Tue, Jul 15, 2014 at 11:34:17AM +0200, Marine B wrote:
> >> What I wanted to do is on client connect to create the file for
> >> his configuration, and tell him to ask for an IP in this subnet.
> >
> > You can assign different IP-Adresses from client-connect, but you
> > need to do the pool handling yourself there. What OpenVPN
> > currently can not do is
> >
> > - set up multiple pools - client-connect tells OpenVPN which pool
> > to use
> >
> > gert -- USENET is *not* the non-clickable part of WWW!
> >
> > //www.muc.de/~gert/ <http://www.muc.de/~gert/> Gert Doering -
> > Munich, Germany g...@greenie.muc.de <mailto:g...@greenie.muc.de>
> > fax: +49-89-35655025 <tel:%2B49-89-35655025>
> > g...@net.informatik.tu-muenchen.de
> > <mailto:g...@net.informatik.tu-muenchen.de>
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> >
> >
> 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
> >
>
>
> - --
> kind regards,
>
> David Sommerseth
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlPE+vwACgkQDC186MBRfrpigACgowlVx+1BOiNdaRww9suuTuUn
> e/sAn3kBZpoi9MCRo2WID4creqROMl1L
> =Tr5V
> -----END 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