Forum Discussion

Martín_289167's avatar
Martín_289167
Icon for Nimbostratus rankNimbostratus
Sep 06, 2016

OS identification

Are there any way to select a pool based on the OS of a client who access to a balanced port?

 

I want to balance Android ipsec connections to one pool or another depending on if Android version is 6 (or above) or not

 

1 Reply

  • Are you using the Edge client on the android devices? Then there are some variables set you could use like session.client.platform_version.

     

    Otherwise you maybe could use the User-Agent header if applicable. Here is an example of such a header:

     

    Mozilla/5.0 (Linux; Android 6.0.1; Nexus 6P Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Mobile Safari/537.36