mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-22 13:02:02 +00: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
|
||||
|
||||
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:
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user