I apologize if this topic has been here before, but I have been looking for a while now and I'm totally confused.
I usually use a Wireguard-vpn on my pc and just newly decided to add it to the router so that all devices would go through it. After some search I found OpenWrt, installed it and managed to get the tunnel running. Although, the tunnel is working. I still have no clue as to how I should add the DNS setting to it, which is causing an issue.
When I don't have the tunnel on I get these results on (dnsleaktest.com)(First image in link). With the tunnel that I configured I get a similar results(Second pic), which aren't the same results I get from ruining the tunnel through the desktop app(Last pic). Images
I would be thankful if anyone can help me with this, but please know that I have just started using OpenWRT today so I still barely know the basics.
I want the whole network to go though the tunnel, rather than having to install wiregaurd and use it on each device one by one.
I meant the DNS settings that come in the wiregaurd-config file that I get from my vpn-provider. The settings come like this(I took out the info, but you should get the idea.).
[Interface]
PrivateKey =
So can you give some more information on the type of vpn you would like to create?
I assume this will be a sit-to-site vpn from your router to your vpn provider?
I'm not sure what site-to-site means, but here is the guide I followed to setup the vpn on my router. Vid
My vpn-provider has a check website to see if you are using their vpn. The page tells me that I'm using it when I activate the tunnel in the router, but as said earlier the DNS dosen't change. This means that everthing is working correctly and I just need to change the DNS while the tunnel is active.
I can do the blocking part, but what do you mean by that line(I still have yet to figure out how to change the DNS settings). I apologize for being such a noob, but I have never worked on these stuff.
I'm a noob, but by logic I can be sure that my tunnel is not using the correct dns since I never even found a place to enter them. The server connection is being established correctly, but as you can see in the three pictures above (OG post). The normal dns is being used with my tunnel rather than the(5july.net) dns which my vpn dns.
I can't fine it anywhere sadly, but what I mean is the normal dns assigned by my ISP which is being acquired by my WAN interface.
There's an option to manually enter a dns there, but if I use my vpn dns there my internet connection goes down.
The VPN server address. NOT DNS. You cannot use the hostname.
You're explicitly stating you want to connect to VPN FIRST before you want DNS. We need to make sure you're using the IP to the VPN server (i.e. Wireguard server).