Opened 9 months ago

Last modified 2 months ago

#1173 new Feature Wish

Enable ifconfig-pool in client-config-dir

Reported by: andre.esser Owned by:
Priority: minor Milestone:
Component: Configuration Version: OpenVPN git master branch (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: client-config-dir ccd ifconfig-pool
Cc:

Description

Hi,

I'd like to be able to create a small number of 'access-class' files in the client-config-dir, each containing an ifconfig-pool setting for a separate network. Then I would only have to create appropriate symlinks for my users to those 'access-class' files and wouldn't have to worry about assigning fixed IPs to individual users any more.

Thanks,

Andre

Change History (4)

comment:1 Changed 9 months ago by plaisthos

This will probbly never happen. It is a bit obscure feature and the code changes to make this work are pretty big.

comment:2 Changed 9 months ago by tincantech

cc

comment:3 Changed 9 months ago by Gert Döring

Actually I want this as well :-) - two (or more) classes of users, with different access privileges $elsewhere, ACLed by subnet. So having different pools for different user classes is something I can see the need for.

Now... plaisthos is right that this is not trivial to implement, as the current code only supports a single IP pool, and to abstract this into multiple pools that can then be referenced is a bit complicated.

It might be interesting to look at this after @ordex' IPv6-only patches are merged, which rework the IP pool handling...

comment:4 Changed 2 months ago by krapula

I second the opinion that this would be useful. For larger scale deployment some mechanism for group/profile based settings would be very nice, as per user IP management is not feasible.

Note: See TracTickets for help on using tickets.