Sites are not opening with pi-hole dns with openvpn

I set up pi-hole using this command: curl -sSL https://install.pi-hole.net | bash then in the server.conf i wrote this line: push "dhcp-option DNS [there is server ip]" and now when I turn on vpn I can't reach any site it's just not loading, why?

This doesn't seem like a Pi-hole issue:
server.conf is not one of Pi-hole files.

Adding an option to that file won't do anything for OpenVPN neither.
You'd have to first install and configure OpenVPN on a server as well as on any client. You didn't specify whether your Pi-hole host machine is intended to run as client or as a server.

For the latter, see our OpenVPN guide for suggestions.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.