[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Feature suggestion: Default ccd file


  • Subject: Re: [Openvpn-users] Feature suggestion: Default ccd file
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Thu, 16 Dec 2004 00:29:32 -0700 (MST)

On Thu, 16 Dec 2004, Mathias Sundman wrote:

> Hi all,
> 
> I've asked for this before, but I'd like to bring it up to discussion 
> again before 2.0 is completly sealed!
> 
> I once again ran into the problem that I have a typical roadwarrior setup, 
> where I don't need client specific configuration, but I'm pushing some 
> routes to every client.
> 
> Now I need to add a push route to this config, which means I have to 
> restart the openvpn server, and thous disconnect all users to make the 
> push route come into effect.
> 
> I know there is already two solutions to this:
> 
> * Use a ccd file for every client, and perhaps include a default ccd file 
> from each unique ccd file.
> 
> * Use a client-connect script.
> 
> But, as I'm not interested in client specific configuration, both seems 
> like work-arounds, just adding extra work to me, so I'd like to propose 
> another way:
> 
> Why not either hardcode OpenVPN to look for file named "default" in 
> the specified client-config-dir, or add a new option 
> "--default-client-config filename". In this file you should be able to put 
> the same options as you can in a normal ccd file, and it should be re-read 
> every time a client connects just like the ccd files.
> 
> This way you don't have to put pushable options in the main config file 
> and you don't have to create a ccd file for every new client.

I agree that it's a good idea -- it's also probably quite easy to code, so 
I'll add it to the list for rc5.

To make it simple, I'd rather not add another option.  Just make 
it something like "DEFAULT" which is always checked for.

James


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users