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

[Openvpn-users] IP-Pool dependent on User Group



We have 2 Usergroups in our NIS: Students and Employes.

How can I define 2 different IP-Pools for these 2 groups?
e.g
Students: 10.1.0.x/16 -> ifconfig-pool 10.1.0.10 10.1.0.100
Employes: 10.2.0.x/16 -> ifconfig-pool 10.2.0.10 10.2.0.100

I tried already 2 ways:
- A 'client-connect'-Script, which returns 'ifconfig-pool 10.1.0.10 10.1.0.100' but it doesn't work:


Jul 31 15:03:03 st-patrick openvpn[31818]: OPTIONS IMPORT: reading client specific options from: /tmp/openvpn_31818_2.tmp
Jul 31 15:03:03 st-patrick openvpn[31818]: Options error: option 'ifconfig-pool' cannot be used in this context

- With 'client-config-dir' I can assign IPs to _Users_ - is there something for User _Groups_ ?



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


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-08/msg00078.html on line 185

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-08/msg00078.html on line 185