Opened 3 years ago

Last modified 16 months 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: release 2.7
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 (3)

comment:1 Changed 3 years 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.

comment:2 Changed 16 months ago by Gert Döring

Milestone: release 2.7

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

see also #1173

Note: See TracTickets for help on using tickets.