iroute as global directive with certificate CN

This is where we can discuss what we would like to see added or changed in OpenVPN.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
ammdispose
OpenVpn Newbie
Posts: 1
Joined: Mon Aug 20, 2012 11:26 am

iroute as global directive with certificate CN

Post by ammdispose » Mon Aug 20, 2012 11:33 am

Hello all

I would like to suggest the following.

I have 2-3 sites which connect to central server which is in server mode.

I have setup client-config-dir.

Now for each site have to create a file (based on CN) and put iroute line in that file. So I have to maintain multiple files just for one single iroute line.

Can we have a modification to iroute configuration directive as follows:

iroute network netmask certCN
e.g. iroute 192.168.7.0 255.255.255.0 factory1

so when client connects, openvpn looks at certificate CN (e.g. factory1) looks for associated iroute line and acts accordingly

With this I can simply put it in global configuration file and avoid maintaining other directory and files.

Hope I make sense.

Thank you

Post Reply