Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
OpenVPN + Android
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN + Android (Read 1076 times)
asw2012
Newbie
Posts: 10
Karma: 0
OpenVPN + Android
«
on:
September 07, 2022, 07:45:54 am »
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.
Logged
asw2012
Newbie
Posts: 10
Karma: 0
Re: OpenVPN + Android
«
Reply #1 on:
September 07, 2022, 08:11:48 am »
Ahhh figured it out, just change the Export Type to file only
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: OpenVPN + Android
«
Reply #2 on:
September 07, 2022, 08:13:44 am »
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...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
OpenVPN + Android