trailofbits / algo

Set up a personal VPN in the cloud
https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-that-works/
GNU Affero General Public License v3.0
28.53k stars 2.31k forks source link

No internet on certain WiFi connection #1700

Open codedmon opened 4 years ago

codedmon commented 4 years ago

Setup:

Issue:

I suspect that this WAP is blocking the connection to my VPN (port?). Any suggestions on troubleshooting this?

TC1977 commented 4 years ago

I don't have any experience with the Android WireGuard app. The iOS app has an option in the settings screen to "View log".

What if you try using an IPsec client?

codedmon commented 4 years ago

I don't have any experience with the Android WireGuard app. The iOS app has an option in the settings screen to "View log".

What if you try using an IPsec client?

I read on another thread that IPSEC support was depreciated for Android.

jackivanov commented 4 years ago

Try to switch WireGuard to 443 or 80 port

codedmon commented 4 years ago

Try to switch WireGuard to 443 or 80 port

How would i go about doing this? Does this require a new server to be setup or can i edit existing files via SSH?

TC1977 commented 4 years ago

Check #1707 for an up-to-date discussion of how to do this with an existing server.

But since (I've heard) it's not uncommon for hostile networks to block UDP/51820 or even all UDP, you might be better off trying IPsec (which uses UDP/500 and 4500) or Open VPN (which uses TCP/1194, and can be changed). WireGuard only uses UDP ports, so switching to UDP/80 or UDP/443 might not help much.

codedmon commented 4 years ago

Check #1707 for an up-to-date discussion of how to do this with an existing server.

WireGuard only uses UDP ports, so switching to UDP/80 or UDP/443 might not help much.

Thanks for the link. I can run a netstat command to see which ports are open.

TC1977 commented 4 years ago

Running netstat on your Android will only tell you that WireGuard isn't passing a connection out. Netstat would help a lot more if you can run it on the WAP, to determine that it's actually passing a WireGuard connection through. But if you can run netstat on the WAP...

codedmon commented 4 years ago

Running netstat on your Android will only tell you that WireGuard isn't passing a connection out. Netstat would help a lot more if you can run it on the WAP, to determine that it's actually passing a WireGuard connection through. But if you can run netstat on the WAP...

I'm a newb when I'm comes to networking. I googled how to see which ports are open and assumed i could run the netstat command on a Windows machine hooked to the WAP. Is there another way to find if the WAP allows UDP connections?

TC1977 commented 4 years ago

Well, WhatsApp and FaceTime (to give two examples) use UDP for streaming. Are those blocked?

Thomvh commented 4 years ago

I have the same problem, ipsec ike isn't blocked on the network but Wireguard and Openvpn etc are all blocked. This means a macbook can get on the vpn. But my windows machine I can't get to work. Strongswan supports windows, but algo doesn't.

codedmon commented 4 years ago

Well, WhatsApp and FaceTime (to give two examples) use UDP for streaming. Are those blocked?

I don't use either of those apps. I did run the netstat command on the network and none of the UDP ports mentioned were shown.