English Forums > Virtual private networks

DNS Server and openVPN

(1/4) > >>

praetorianer777:
Hey guys,

I am having some trouble with the DNS stuff...
I successfully created the openvpn server on opnsense.
I also get clients to connect to it and all traffic goes over the server.
I have access to my home network but only while using the ip adress.
IPconfig on Windows shows, that my DNS server in my home network is published to the client.
What is wrong here?

Gauss23:

--- Quote from: praetorianer777 on October 28, 2020, 07:41:55 pm ---Hey guys,

I am having some trouble with the DNS stuff...
I successfully created the openvpn server on opnsense.
I also get clients to connect to it and all traffic goes over the server.
I have access to my home network but only while using the ip adress.
IPconfig on Windows shows, that my DNS server in my home network is published to the client.
What is wrong here?

--- End quote ---

What DNS servers are this? Maybe they block requests from outside their subnet?

praetorianer777:
I am using a Pihole... but I didn't find settings for this except this, which is enabled (see attachment).

Gauss23:
Is the client following you "Redirect gateway" rule? Some clients ignore it or make it optional.

Do you have a firewall rule allowing VPN clients traffic to your 192.168.1.0/24 network? Are you able to ping the DNS servers from the VPN client?

Enable logging on the rules for OpenVPN and check in live view if you see the requests.

praetorianer777:
WHen I check my public IP with the client, it has the same as my router at home, this seems working...
A ping to my Pihole is also successful
My home network is 192.168.1.0/24 and the VPN network 10.10.0.0/24
I attached the logs, only one IPv6 packet was denied
192.168.1.26 is the IP of the opnsense server, 192.168.1.3 the pihole and 192.168.1.1 the fritzbox...

Navigation

[0] Message Index

[#] Next page

Go to full version