Opened 4 months ago

Last modified 6 weeks ago

#1419 new Feature Wish

Could you add groups of clients with different ranges of ip addresses

Reported by: maxim4 Owned by:
Priority: major Milestone:
Component: Generic / unclassified Version: OpenVPN 2.5.1 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:
Cc:

Description

Could you add groups of clients with different ranges of ip addresses?
For instance:
Admins group with range of ip addresses 192.168.10.1-192.168.10.10.
Users group with range of ip addresses 192.168.10.11-192.168.10.20.
It give opportunity connecnt from multuple device in the same time with correct range of ip addresses.

Change History (1)

comment:1 Changed 6 weeks ago by Gert Döring

Milestone: release 2.5.2

You can, but not from within OpenVPN itself.

You would need to use a --client-connect script (or plugin) which would do the address management, and assign a "proper group" address by means of configuring --ifconfig-push with the desired IP address for that client.

We have "handle multiple pools, assign client to pool by ccd or client-connect" on our wish list, but so far nobody is working on it.

Note: See TracTickets for help on using tickets.