mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-07-31 01:24:17 +02:00
Updated OpenVPN server: Only route DNS via VPN (markdown)
parent
f58f7da1d1
commit
9fdab91997
@ -2,7 +2,7 @@ Full article: https://github.com/pi-hole/pi-hole/wiki/Pi-hole---OpenVPN-server
|
|||||||
|
|
||||||
### Optional: Only route DNS via VPN
|
### Optional: Only route DNS via VPN
|
||||||
|
|
||||||
With this setup you will force connected clients to use only the DNS provided by the VPN connection, i.e. the Pi-hole. Do this only if you don't want to tunnel **all** connections from the client thru the VPN, but only DNS queries.
|
With this setup you will force connected clients to use only the DNS provided by the VPN connection, i.e. the Pi-hole. Do this only if you **don't** want to tunnel all traffic from the client thru the VPN, but only its DNS queries.
|
||||||
|
|
||||||
Edit your `/etc/openvpn/server.conf` and remove (comment) the following line:
|
Edit your `/etc/openvpn/server.conf` and remove (comment) the following line:
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user