Import Connection from Server

Not a Viscosity specific question, but hoping someone here can help.

OpenVPN-AS provides support for a client getting it’s configuration via a URL.

I’ve noticed Viscosity has support for this option as well.

I don’t run OpenVPN-AS, we wrote our own VPN management solution to configure OpenVPN. Right now mobile users get can get a .ovpn download that they can import into OpenVPN Connect Client, but the URL option that AS provides would be easier.

I’ve looked online to try and find out what the design specification for this is so I could implement support for it, but haven’t had much luck. At this point I think my only option would be to get a copy of AS and reverse-engineer it.

Does anyone know what the request and response should look like for this?

Any plans for a Viscosity to provide a mobile client (Android and iOS)?

Hi rps,

If you’re looking at simulating the OpenVPN-AS server side to allow Viscosity to perform an import, the easiest method is to simply have a script at “yourserver.com/rest/GetUserlogin”, that’s behind HTTP Basic Authentication, that returns a copy of the configuration file as text. Any embedded certificates etc. will need to use OpenVPN’s inline syntax. Viscosity will do the rest.

Any plans for a Viscosity to provide a mobile client (Android and iOS)?

It’s in the works. News on that front soon. :slight_smile:

Cheers,
James