OpenVPN + Android

Started by asw2012, September 07, 2022, 07:45:54 AM

Previous topic - Next topic
I have setup OpenVPN on the router v22.7.3_2-amd64.  I've exported the profile for a windows computer, set the three files in the correct folder, all works fine.

What do I have to do to these three files to make them work on an android phone?  I've always just imported an .ovpn file (for instance, from my ASUS router, there was an export for android button that spit out a single file).

thanks.

Ahhh figured it out, just change the Export Type to file only

:)

You can easily craft an .ovpn file on Windows like so:

<header lines like dev cipher remote etc>
<cert>
</cert>
<ca>
</ca>
<key>
</key>

Paste the contents of the relevant text files between the tags - e.g. for the cert and ca blocks something like:
-----BEGIN CERTIFICATE-----
MII................
................
.............
-----END CERTIFICATE-----

Install an OpenVPN client on Android (the official one works well) and import the .ovpn file from local storage or SD card.

Bart...