angristan / wireguard-install

WireGuard VPN installer for Linux servers
https://stanislas.blog/2019/01/how-to-setup-vpn-server-wireguard-nat-ipv6/
MIT License
7.51k stars 1.26k forks source link

Connected to Wireguard but no internet #377

Closed aleminkirali closed 1 year ago

aleminkirali commented 1 year ago

There seems to be an issue going on at this moment on all the different VPN servers that I am running. All of them are connected but there seems to be no connection to internet. I never looked at what DNS server was used before but it seems to be Adguard(94.140.14.14, 94.140.15.15). When I change the configuration file to use Google DNS everything seems to be fine. It's impossible for me to ask different users and friends to change all their DNS manually. I also don't see any DNS issue ongoing at Adguard at this moment. What can I do from the server side to fix this issue? I have limited knowledge and sorry for bothering.

Proficus commented 1 year ago

I have same problem

habnai commented 1 year ago

I have same problem

berinaniesh commented 1 year ago

I can confirm, changing the dns to 1.1.1.1 in the conf file fixes the issue

aleminkirali commented 1 year ago

The issue is that the Adguard DNS has rate limit on free package that Angristan Wireguard uses. I could not ask all my users to change their config manually. Found someone that did it on the server level to a different DNS. This fixed the issue for me.

berinaniesh commented 1 year ago

I just uninstalled wireguard server (using the script) and reinstalled with 1.1.1.1 and 8.8.8.8 as dns servers, but i still have some issue, I have no internet. Not sure what the problem is. Edit: Turns out my internet has firewall and blocks most ports.

cloudslsw commented 1 year ago

i got same issue, change DNS didn't working for me

ripkos commented 1 year ago

Had same issue, try following to fix it: Write your correct public IP address when scrip asks it (in my case by default it was private IP). Open your port that wireguard is listening on (in my case I am hosting on Azure, and by default have all ports closed, therefore had to open it by myself). Disable firewall to see if it makes any difference. In my case it was ufw disable command, after which everything started to work.