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

Not Able to Connect #3

Open
michaelmagan opened this issue Jul 11, 2021 · 12 comments
Open

Not Able to Connect #3

michaelmagan opened this issue Jul 11, 2021 · 12 comments

Comments

@michaelmagan
Copy link
Contributor

I used the tool to generate the config and it said everything worked but when I put this in my wireguard set up it doesn't work...

[Interface]
Address = 10.38.134.8
PrivateKey = <>
DNS = 10.0.0.243,10.0.0.242

[Peer]
PublicKey = <>
Endpoint = 46.246.3.218:1337
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25
@hsand
Copy link
Owner

hsand commented Jul 12, 2021

Could you test with a few different PIA servers, and see if you're having the same issue? Just to rule out an issue on PIA's side.

@michaelmagan
Copy link
Contributor Author

@hsand Yes. I've already done that and confirmed another server works. It's possible it's restricted to this server. Thanks for creating this utility. It's pretty great.

I'm going to spend sometime testing more servers to see what happens.

@hsand
Copy link
Owner

hsand commented Jul 12, 2021

I don't actually have a PIA subscription at the moment, so it's a bit hard for me to test. But I'm wondering if the server you're having issues with is running on another port than 1337. I set the port statically in my script because that's all I encountered, but it might be worthwhile taking a look at the API responses from PIA to double check.

@dkrutsko
Copy link

Yeah I'm having the same issue where I'm able to connect to CA-Toronto but not get internet access. On the other hand, accessing US-New-York works fine. I'll see if I can try and figure out what the issue seems to be. Maybe some of those servers just don't support WG properly?

@fracai
Copy link

fracai commented Aug 13, 2021

I'm encountering the same behavior (connection succeeds, but no Internet access).
The servers I tried last night are:

  • CA-Toronto
  • Netherlands
  • UK-London
  • US-New-York

Any debugging tips?

@whtrbbt1
Copy link

Same issue. Can connect on mac or windows but no internet access. Tried 4 different US servers.

@michaelmagan
Copy link
Contributor Author

I was never able to resolve this. Seems like some servers work and others don't. I think its likely PIA, but I just switched to OPENVPN for the servers I needed.

@whtrbbt1
Copy link

I was never able to resolve this. Seems like some servers work and others don't. I think its likely PIA, but I just switched to OPENVPN for the servers I needed.

I'm trying to use this on a Firewalla Gold. I have been able to connect to Houston on my PC but no other server. OpenVPN performance isn't the best but that's what I'm using for now.

@chimeforest
Copy link

chimeforest commented Apr 15, 2022

I'm having the same problem.
Using the wireguard app on windows, and a GL.iNet router.
Windows can "Activate" all of them, but no internet access. Router can only connect to the one successful one listen below.
There's probably not a whole lot we can do, but here are the servers I tried to connect to...

Successful:

  • US-Houston

Unsuccessful:

  • Bahamas
  • CA-Montreal
  • CA-Toronto
  • Greenland
  • Mexico
  • US-Baltimore
  • US-Chicago
  • US-East
  • US-Houston
  • US-New-York
  • US-Washington-DC
  • US-Wilmington
  • Venezuela

Edit: Now Houston is not working either =/

@weller9999
Copy link

It seems that the script hardcodes the IP in the conf file. I can connect but get no traffic. I then noticed that the IP changes every 1 second:
This is New Zealand but every site is constantly changing IPs, so then the endpoint will have the wrong IP.

for i in {1..10}; do curl https://serverlist.piaservers.net/vpninfo/servers/v4 2>/dev/null|tr , "\n"|egrep "id.:|wg"|\grep nz -A1|tail -1; sleep 1; done
"wg":[{"ip":"179.61.240.179"
"wg":[{"ip":"179.61.240.108"
"wg":[{"ip":"179.61.240.179"
"wg":[{"ip":"179.61.240.142"
"wg":[{"ip":"179.61.240.159"
"wg":[{"ip":"179.61.240.159"
"wg":[{"ip":"179.61.240.164"
"wg":[{"ip":"179.61.240.134"
"wg":[{"ip":"179.61.240.160"
"wg":[{"ip":"179.61.240.170"

Thoughts?

@Ph0rk0z
Copy link

Ph0rk0z commented Oct 30, 2023

I am able to connect but DNS doesn't work. I can go to say 1.1.1.1 by IP but all pings to the pia dns servers fail and I haven't been able to use any other one.

@ZenoBell
Copy link

I selected a streaming server and i had the same issue. Changing to something else solved the issue so i guess some of them are not working as expected.

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

9 participants