Comments (9)
Hey so i figured my problem of proxy-dns which is of cloudflared. I used the command sudo cloudflared proxy-dns. How can i stop this? Cuz it goes to 127.0.0.53:53. How can i reset this?
My bad, 127.0.0.53 is my stub resolver as it is defined in /etc/resolv.conf
Now it is changed to 1.1.1.1 finally.
from wgcf.
It seems like you are using a proxy DNS running on localhost (127.0.0.53:53
), which is unable to resolve DNS queries. To verify this, when you are getting i/o timeout
, run ping 1.1.1.1
. If it succeeds, then it is indeed just the DNS that is broken. Try using the tunnel's default DNS (1.1.1.1
).
from wgcf.
Cool Thanks. I removed all the DNS from wifi and from the router as well. Still, I got the same problem after 1 successful run.
2020/04/25 15:23:33 Get "https://cloudflare.com/cdn-cgi/trace": dial tcp: lookup cloudflare.com on 127.0.0.53:53: read udp 127.0.0.1:49003->127.0.0.53:53: i/o timeout
from wgcf.
Okay, so there is no internet even though I removed the Proxy DNS.
ravinder@ravinder-Aspire-A515-51:$ wg-quick up ravinder_private/warp+.conf
[#] ip link add warp+ type wireguard
[#] wg setconf warp+ /dev/fd/63
[#] ip -4 address add 172.16.0.2/32 dev warp+
[#] ip -6 address add fd01:5ca1:ab1e:8c92:3e75:2f5:4a5e:47d1/128 dev warp+
[#] ip link set mtu 1420 up dev warp+
[#] resolvconf -a tun.warp+ -m 0 -x
[#] wg set warp+ fwmark 51820
[#] ip -6 route add ::/0 dev warp+ table 51820
[#] ip -6 rule add not fwmark 51820 table 51820
[#] ip -6 rule add table main suppress_prefixlength 0
[#] ip6tables-restore -n
[#] ip -4 route add 0.0.0.0/0 dev warp+ table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
[#] iptables-restore -n
ravinder@ravinder-Aspire-A515-51:$ ./wgcf_1.0.5_linux_amd64 trace --config "ravinder_private/warp+.toml"
2020/04/25 16:01:48 Using config file: ravinder_private/warp+.toml
2020/04/25 16:01:53 Trace result:
fl=202f31
h=cloudflare.com
ip=203.194.104.155
ts=1587810713.728
visit_scheme=https
uag=Go-http-client/2.0
colo=BOM
http=http/2
loc=IN
tls=TLSv1.3
sni=plaintext
warp=plus
ravinder@ravinder-Aspire-A515-51:$ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
^C
--- 1.1.1.1 ping statistics ---
43 packets transmitted, 0 received, 100% packet loss, time 43017ms
1 ravinder@ravinder-Aspire-A515-51:$ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
^C
--- 1.1.1.1 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3081ms
1 ravinder@ravinder-Aspire-A515-51:$ wg-quick down ravinder_private/warp+.conf
The Internet doesn't work now after running the client.
from wgcf.
To connect on Ubuntu, try this exact sequence..
ping -c 3 -W 3 google.com
wg-quick up wgcf-profile.conf
ping -c 1 -W 3 google.com
wg-quick down wgcf-profile.conf
wg-quick up wgcf-profile.conf
ping -c 3 -W 3 google.com
from wgcf.
When I use DNS through Tor, this sequence is how I have to connect to warp on Ubuntu. This sequence works every time.
ping -c 3 -W 3 google.com
wg-quick up vpn1
sudo /etc/init.d/tor restart
sleep 3
ping -c 1 -W 3 google.com
wg-quick down vpn1
wg-quick up vpn1
sudo /etc/init.d/tor restart
sleep 3
ping -c 3 -W 3 google.com
from wgcf.
ping -c 3 -W 3 google.com
Tried this.
ravinder@ravinder-Aspire-A515-51:$ ping -c 3 -W 3 google.com
PING google.com (172.217.167.174) 56(84) bytes of data.
64 bytes from bom12s01-in-f14.1e100.net (172.217.167.174): icmp_seq=1 ttl=57 time=3.68 ms
64 bytes from bom12s01-in-f14.1e100.net (172.217.167.174): icmp_seq=2 ttl=57 time=5.84 ms
64 bytes from bom12s01-in-f14.1e100.net (172.217.167.174): icmp_seq=3 ttl=57 time=4.53 ms
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 3.686/4.689/5.846/0.888 ms
ravinder@ravinder-Aspire-A515-51:$ wg-quick up wgcf-profile.conf
wg-quick must be run as root. Please enter the password for ravinder to continue:
[#] ip link add wgcf-profile type wireguard
[#] wg setconf wgcf-profile /dev/fd/63
[#] ip -4 address add 172.16.0.2/32 dev wgcf-profile
[#] ip -6 address add fd01:5ca1:ab1e:8c92:3e75:2f5:4a5e:47d1/128 dev wgcf-profile
[#] ip -6 rule add not fwmark 51820 table 51820
[#] ip -6 rule add table main suppress_prefixlength 0
[#] ip6tables-restore -n
[#] ip -4 route add 0.0.0.0/0 dev wgcf-profile table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
[#] iptables-restore -n
ravinder@ravinder-Aspire-A515-51:$ ping -c 1 -W 3 google.com
PING google.com (216.58.199.174) 56(84) bytes of data.
64 bytes from bom05s08-in-f14.1e100.net (216.58.199.174): icmp_seq=1 ttl=58 time=4.01 ms
--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 4.016/4.016/4.016/0.000 ms
ravinder@ravinder-Aspire-A515-51:$ wg-quick down wgcf-profile.conf
[#] ip -4 rule delete table 51820
[#] ip -4 rule delete table main suppress_prefixlength 0
[#] ip -6 rule add not fwmark 51820 table 51820
[#] ip -6 rule add table main suppress_prefixlength 0
[#] ip6tables-restore -n
[#] ip -4 route add 0.0.0.0/0 dev wgcf-profile table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
[#] iptables-restore -n
ravinder@ravinder-Aspire-A515-51:$ wg-quick up wgcf-profile.conf
[#] ip link add wgcf-profile type wireguard
[#] wg setconf wgcf-profile /dev/fd/63
[#] ip -4 address add 172.16.0.2/32 dev wgcf-profile
[#] ip -6 address add fd01:5ca1:ab1e:8c92:3e75:2f5:4a5e:47d1/128 dev wgcf-profile
[#] ip link set mtu 1420 up dev wgcf-profile
[#] resolvconf -a tun.wgcf-profile -m 0 -x
[#] wg set wgcf-profile fwmark 51820
[#] ip -6 route add ::/0 dev wgcf-profile table 51820
[#] ip -6 rule add not fwmark 51820 table 51820
[#] ip -6 rule add table main suppress_prefixlength 0
[#] ip6tables-restore -n
[#] ip -4 route add 0.0.0.0/0 dev wgcf-profile table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
[#] iptables-restore -n
ravinder@ravinder-Aspire-A515-51:$ ping -c 3 -W 3 google.com
PING google.com (172.217.167.174) 56(84) bytes of data.
--- google.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2038ms
from wgcf.
As this issue is with your individual setup and unrelated to the project, I'm afraid I cannot help there. I will now close this issue, but I hope you manage to fix it. Feel free to reply here and add any notes for other users if you figure out out.
from wgcf.
Yeah, so I changed my nameserver to 1.1.1.1 by overriding the /etc/resolv.conf. By doing so it's faster than it's default one which is 127.0.0.53.
- To check the status of systemd-resolve:
sudo systemd-resolve --status - To edit the file /etc/resolv.conf as you said to make 1.1.1.1 as default.
sudo nano /etc/resolv.conf
Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
127.0.0.53 is the systemd-resolved stub resolver.
run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 1.1.1.1
nameserver 127.0.0.53
The real problem is still not fixed. Not sure if the client has the issue or the Cloudflare API.
I thank both of you for the help.
from wgcf.
Related Issues (20)
- WARP IPv6 issue with WARP+ key binded HOT 7
- IPv6 without IPv4 fallback HOT 3
- Generate QR Code HOT 3
- connection refused HOT 4
- [Question] Benefits over official app HOT 1
- wgcf cannot be used anymore? HOT 4
- initial connection issues on Linux and android devices. HOT 4
- Slow/None connection with google servicies when using wgcf HOT 2
- Error while doing wg-quick up wgcf-profile.conf HOT 2
- Using in go HOT 1
- Registered but warp is off HOT 1
- issue regarding WGCF v2.2.21 not functioning on Windows x86 HOT 1
- how to start/stop the warp service HOT 1
- CF IP from other country, not ours HOT 1
- How to connect via protocol TCP? HOT 1
- Request support of Cloudflare Security DNS HOT 1
- ⚠️⚠️This won't work if your provider blocks 1.1.1.1 DNS or WARP⚠️⚠️ HOT 4
- Unable to connect using debian 12 - Proxmox LXC HOT 7
- 401 Unauthorized HOT 1
- How to change warp location? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wgcf.