I have a topology/config similar to the "subnet Example with static ccd" on 
this page: 
https://community.openvpn.net/openvpn/wiki/Concepts-Addressing 

That is, each client gets a fixed, static IP address for their side and the 
server is on the .1 address of the shared /24 VPN subnet. What I want to do is 
have each client logging in with a given common name (i.e. sharing it) obtain 
an IP address from a range unique to that common name. If the ifconfig-push 
options in a client-specific config file also accepted a range as their first 
argument, that'd be perfect, e.g. 

(client1 file) 
ifconfig-push 192.168.0. 16-23 255.255.255.0 
ifconfig-ipv6-push 1234:5678:: 10-17 /64 

(client2 file) 
ifconfig-push 192.168.0. 24-31 255.255.255.0 
ifconfig-ipv6-push 1234:5678:: 18-1f /64 

Any way to accomplish the same using openvpn as it exists today? My use case is 
that per common name, a /29 subnet of client-side IP addresses are allowed 
access to specified network resources on the server side. 
At the moment it appears I have to maintain eight non-shared client logins 
(common names) for each of these subnets of the larger /24 shared tunnel 
subnet, each having a fixed static IP address. 

Thanks, 
Dave 

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

Reply via email to