in general, this is not possible: the server does not trust the client (yet) , hence no data is accepted from the client.
There is some development ongoing to overcome this, but it's not in production yet.
Thanks Jan. We currently have a few dozen OpenVPN instances each of which are configured to route client traffic to different networks. What I am trying to achieve is to replace all these OpenVPN instances with a single one and then dynamically create routes in the route-up script based on the value passed by the client. So if the client was trying to access our network in Cairo, they would connect using the cairo config file and the server would create a new rule (using ip add rule) which would reroute client traffic to Cairo. The only solution I can think of currently is to have the client pass the data in the username field, but this is messy.
If you can think of any other potential solutions please let me know. Also, if you know the name of the branch or link to where i can monitor the work being done on this that would be great.
Cheers!
Josh