mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-29 12:34:24 +02:00
Created Pi hole OpenVPN server: Connect from a client (markdown)
parent
3f45fbb13c
commit
8233649225
1 changed files with 35 additions and 0 deletions
35
Pi-hole-OpenVPN-server:-Connect-from-a-client.md
Normal file
35
Pi-hole-OpenVPN-server:-Connect-from-a-client.md
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
### Connect from a client
|
||||||
|
There are various tutorials available for all operating systems for how to connect to an OpenVPN server.
|
||||||
|
|
||||||
|
### Android
|
||||||
|
Use the official OpenVPN App:
|
||||||
|
https://play.google.com/store/apps/details?id=net.openvpn.openvpn
|
||||||
|
|
||||||
|
### Other systems
|
||||||
|
I'll demonstrate the procedure here for Ubuntu Linux (which trivially extends to Linux Mint, etc.)
|
||||||
|
|
||||||
|
1. Install the necessary network-manager plugins
|
||||||
|
```
|
||||||
|
sudo apt-get install network-manager-openvpn network-manager-openvpn-gnome
|
||||||
|
sudo service network-manager restart
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Securely copy the necessary certificates from your OpenVPN server to your client (e.g. using `sftp`). They are located in `/etc/openvpn/easy-rsa/pki`
|
||||||
|
|
||||||
|
You will need:
|
||||||
|
|
||||||
|
* User Certificate: `/etc/openvpn/easy-rsa/pki/issued/client.crt`
|
||||||
|
* CA Certificate: `/etc/openvpn/easy-rsa/pki/ca.crt`
|
||||||
|
* Private Key: `/etc/openvpn/easy-rsa/pki/private/client.key`
|
||||||
|
* Private Key Password: Depending on your settings (might even be empty)
|
||||||
|
* TA Key: `/etc/openvpn/ta.key`
|
||||||
|
|
||||||
|
Further details can be found in the screenshots provided below:
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
Your whole network traffic will now securely be transferred to your Pi-hole.
|
||||||
|

|
Loading…
Add table
Add a link
Reference in a new issue