From a0bdf1209effd542dd5fe6d31213ba4d43b2f2b5 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 13 May 2018 14:24:45 +0200 Subject: [PATCH] Destroyed OpenVPN server: Connect from a client (Android) (markdown) --- ...server:-Connect-from-a-client-(Android).md | 54 ------------------- 1 file changed, 54 deletions(-) delete mode 100644 OpenVPN-server:-Connect-from-a-client-(Android).md diff --git a/OpenVPN-server:-Connect-from-a-client-(Android).md b/OpenVPN-server:-Connect-from-a-client-(Android).md deleted file mode 100644 index 83ad41e..0000000 --- a/OpenVPN-server:-Connect-from-a-client-(Android).md +++ /dev/null @@ -1,54 +0,0 @@ -Full article: https://github.com/pi-hole/pi-hole/wiki/Pi-hole---OpenVPN-server - -1. Install the official OpenVPN App from the [App Store](https://play.google.com/store/apps/details?id=net.openvpn.openvpn) - -2. Log into your OpenVPN server and use the road warrior installer to create a new certificate for your device: - ``` -root@ubuntu-512mb-fra1-01:~# bash openvpn-install.sh -Looks like OpenVPN is already installed - -What do you want to do? - 1) Add a cert for a new user - 2) Revoke existing user cert - 3) Remove OpenVPN - 4) Exit -Select an option [1-4]: 1 - -Tell me a name for the client cert -Please, use one word only, no special characters -Client name: android -Generating a 2048 bit RSA private key -.....+++ -..................................+++ -writing new private key to '...' ------ -Using configuration from /etc/openvpn/easy-rsa/openssl-1.0.cnf -Check that the request matches the signature -Signature ok -The Subject's Distinguished Name is as follows -commonName :ASN.1 12:'android' -Certificate is to be certified until Jan 25 15:07:37 2027 GMT (3650 days) - -Write out database with 1 new entries -Data Base Updated - -Client android added, configuration is available at /root/android.ovpn -``` - -3. Copy the mentioned file (`/root/android.ovpn`) to your Android device (e.g. SD card) and import it in the app: - - ![](http://www.dl6er.de/pi-hole/openVPN/Android-Import-1.png) - - ![](http://www.dl6er.de/pi-hole/openVPN/Android-Import-2.png) - - ![](http://www.dl6er.de/pi-hole/openVPN/Android-Import-3.png) - - ![](http://www.dl6er.de/pi-hole/openVPN/Android-Import-4.png) - -4. Connect to your OpenVPN server - - ![](http://www.dl6er.de/pi-hole/openVPN/Android-Connected.png) - -5. You are ready to go! - - ![](http://www.dl6er.de/pi-hole/openVPN/Android-Pi-hole.png) \ No newline at end of file