We'd like to obtain the public IP of a user that connects via SSL VPN, the one that the user would have if he didn't connect that way.
But this looks impossible to do, if we use web services like the ones shown here: https://stackoverflow.com/questions/391979/how-to-get-clients-ip-address-using-javascript, when user is not connected via SSL VPN, it gives the correct IP, but once the user connects if a webservice like that is called it gives the public IP of the connected machine.
Maybe I'm missing something, that's the reason I'm asking if there's such a way, but I'm afraid there's no way to control from javascript that calling that service could be done outside of the SSL VPN connection once it's connected there.