Good morning, I am trying to use WireGuard. I can connect to the VPN, but I cannot access any websites. The strange thing is that if I open a website in my browser (Firefox) and then launch the VPN, I can browse the previously opened websites, unless I open links external to that site. Do you have any advice for me? Thank you and have a nice day.
Is IP forwarding enabled on your system?
https://www.baeldung.com/linux/network-gateway
Also check if Wireguard has a DNS that you can actually reach. Had this issue on my setup on the beginning. Lastly, set allowed IPs to 0.0.0.0/0
Sounds like DNS. Is your VPN meant to provide DNS? If yes, make sure your using the correct dns server. If not, you’ll likely need to make an exception for your DNS server.
Thank you Camerondev and thank you Slabber. You solve my problem. I’ve used my nextdns DNS and noto work, with google DNS now it works. Now, I really want to understand why on a win laptop nextdns works and on linux not.


