[Plugin] different subnet based on the cert name
Posted: Wed Apr 30, 2014 2:03 pm
Good Morning,
I created a plugin for OpenVPN and I will like to have some feedback and comment.
So my plugin is to allow us to group user in different subnet. Usually you would use client-config-dir, but then you will need to generate every single client configuration file, before anyone ever connect to your VPN.
Lets say you have two group of people :
people from group A: there certificat common_name start with A
people from group B: there certificat common_name start with B
You want people from group A to go in the subnet 10.0.0.0/24
and people from the group B to go to subnet 10.0.1.0/24
This is what I tried to achieved.
So far, the plugin seems to work, but I need some testing and probably someone who can correct me on my error
,
I'm far from being a develloper in c, but I really needed my VPN to be able to do that, so any help, critique, feedback would be appricated.
The plugin is disponible here: https://github.com/yunai39/OpenVPNSubNetworkPlugin
Thanks a lot
I created a plugin for OpenVPN and I will like to have some feedback and comment.
So my plugin is to allow us to group user in different subnet. Usually you would use client-config-dir, but then you will need to generate every single client configuration file, before anyone ever connect to your VPN.
Lets say you have two group of people :
people from group A: there certificat common_name start with A
people from group B: there certificat common_name start with B
You want people from group A to go in the subnet 10.0.0.0/24
and people from the group B to go to subnet 10.0.1.0/24
This is what I tried to achieved.
So far, the plugin seems to work, but I need some testing and probably someone who can correct me on my error

I'm far from being a develloper in c, but I really needed my VPN to be able to do that, so any help, critique, feedback would be appricated.
The plugin is disponible here: https://github.com/yunai39/OpenVPNSubNetworkPlugin
Thanks a lot