Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on Android #31

Closed
nwn9 opened this issue Jul 11, 2020 · 7 comments
Closed

Doesn't work on Android #31

nwn9 opened this issue Jul 11, 2020 · 7 comments

Comments

@nwn9
Copy link

nwn9 commented Jul 11, 2020

I've run the binary via Termux on Android. When I type the command:

wgcf register

Then comes the error:

"https://api.cloudflareclient.com/v0a884/reg": dial tcp: lookup api.cloudflareclient.com on [::1]:53: read udp [::1]:49415->[::1]:53: read: connection refused

I've disabled my VPN, a custom DNS and the problem still persists.

@ViRb3
Copy link
Owner

ViRb3 commented Jul 12, 2020

As far as I remember you can't run a Linux build on Android, not even in Termux, as networking works differently. I could make an Android build, but why not use the official 1.1.1.1 app?

@ViRb3 ViRb3 changed the title Connection refused Doesn't work on Android Jul 12, 2020
@ViRb3
Copy link
Owner

ViRb3 commented Jul 17, 2020

Closing due to inactivity.

@ViRb3 ViRb3 closed this as completed Jul 17, 2020
@gorkemgun
Copy link

Just create /etc/resolv.conf and append nameserver 1.1.1.1 then this problem will be resolved.

@minlaxz
Copy link

minlaxz commented Apr 16, 2021

Does /etc/resolv.conf mean $PREFIX/etc/resolv.conf ?
I have installed resolv-conf using openDNS but it doesn't work.

@gorkemgun
Copy link

Does /etc/resolv.conf mean $PREFIX/etc/resolv.conf ?
I have installed resolv-conf using openDNS but it doesn't work.

Just create a resolv.conf file in the /etc directory and write nameserver 1.1.1.1 in it. You don't need to do anything else.

@minlaxz
Copy link

minlaxz commented Apr 30, 2021

Does /etc/resolv.conf mean $PREFIX/etc/resolv.conf ?
I have installed resolv-conf using openDNS but it doesn't work.

Just create a resolv.conf file in the /etc directory and write nameserver 1.1.1.1 in it. You don't need to do anything else.

Thank for your comment BTW I am from Myanmar, in my country Myanmar Junta is actively blocking 1.1.1.1 and censored internet.

@andruska
Copy link

... but why not use the official 1.1.1.1 app?

For an unknown reason 1.1.1.1 official Android app requires GMS infrastructure. Many Chinese Android phones doesn't have this. So, the only solution for them to generate wgcf profile and run it with Wireguard app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants