virtual subnets

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
OpenVpn Newbie
Posts: 1
Joined: Mon Aug 12, 2019 7:06 pm

virtual subnets

Post by john365 » Mon Aug 12, 2019 7:11 pm

I have a working ovpn server (community), with mysql based authentication via FreeRadius. Freeradius is also doing the static IP assignment (Framed-IP), and since my user database is growing, and for security reasons there is a need to separate these group of users through different subnets, therefore different routing table. Is there a way to do this with the community version? Here is some examples:
user 1 in grp 1 connects and get assigned as it's ip and as its getway, and its specific user permissions (list of IP that it can have access to ... etc)
user 2 in grp 2 connects and get assigned as it's ip and as its getway, and its specific user permissions.

Any hint would really be awesome.

OpenVpn Newbie
Posts: 2
Joined: Thu Aug 22, 2019 1:56 pm

Re: virtual subnets

Post by Talkabout » Thu Aug 22, 2019 2:36 pm


I have posted a similar question. In my case I am also assigning different IPs to the particular client groups via radius (, and routing them to different vlans (, The only problem I am current facing is that the second group is not receiving the answers from other machines in the subnet, although the packets from the corresponding clients are reaching the target machines. There seems to be an issue with routing from back to the vpn network ( I have also not found solution yet...


Post Reply