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

VPN connected to GoogleOneVPN(PixelVPN) cannot share. #604

Open
Jialin0502 opened this issue Sep 4, 2024 · 16 comments
Open

VPN connected to GoogleOneVPN(PixelVPN) cannot share. #604

Jialin0502 opened this issue Sep 4, 2024 · 16 comments

Comments

@Jialin0502
Copy link

# Bug

I found that the upstream of Google VPN and the commonly used VPN software are different. After open wlan, Hot spot will be no network connection. (used latest master version 508967e )

Using other VPNs can share normally.

Need to provide log? This VPN not very common,I can together test this.

Screenshot

@Mygod
Copy link
Owner

Mygod commented Sep 4, 2024

Logs please.

@Jialin0502
Copy link
Author

Is this ok?
vpnhotspot_log.zip
Thanks for viewing.

@Mygod
Copy link
Owner

Mygod commented Sep 6, 2024

Thanks! Can you try clicking "clean/reapply routing rules" and see if that fixes it? Otherwise please export another log, thanks again!

@GD2021
Copy link

GD2021 commented Sep 17, 2024

Connect your phone to a Wi-Fi network and log in to the Google VPN. Once the app is open, enable the wireless tethering feature. The other phone, when connected to this Wi-Fi, will not have internet access.
vpnhotspot_log.zip
image
image
image
image

@GD2021
Copy link

GD2021 commented Sep 17, 2024

image

@Mygod
Copy link
Owner

Mygod commented Sep 18, 2024

Yes, but can you try clicking "clean/reapply routing rules" in the settings page of this app and see if that fixes it? Otherwise please export a new log. Thanks!

@GD2021
Copy link

GD2021 commented Sep 20, 2024

vpnhotspot-5041622348703627665.log

Thank you for your concern, I've tried, but it still doesn't work. Thank you again for your concern.

@Mygod
Copy link
Owner

Mygod commented Sep 20, 2024

Indeed it looks like the response packets are not going through to your downstream devices. Not sure how to resolve this since I do not own a Pixel currently.

@httpsColon

This comment was marked as off-topic.

@yitong2333
Copy link

Indeed it looks like the response packets are not going through to your downstream devices. Not sure how to resolve this since I do not own a Pixel currently.

I think you can open a proxy5 server by using everyproxy and then use VPNHotspot's hotspot to route the socks5 server, but VPNHotspot can't currently share the socks5 server via wifi hotspot

@OXERIS
Copy link

OXERIS commented Oct 20, 2024

手机系统被厂商魔改导致的,我就成功过一次,v2ng的vpn模式网络共享给电脑成功了,之后就再也无法恢复了

我测试了一般的vpn和代理工具,比如clash,v2ray都可以,但是Google vpn不行

@Mygod
Copy link
Owner

Mygod commented Dec 28, 2024

How are you guys using Google VPN if it requires strong integrity? 🤔

EDIT: Okay figured it out.

@Mygod
Copy link
Owner

Mygod commented Dec 28, 2024

# tcpdump -nvvi any host 34.117.59.81
tcpdump: data link type LINUX_SLL2
tcpdump: listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes
23:24:41.825657 wlan2 In  IP (tos 0x0, ttl 64, id 16294, offset 0, flags [DF], proto ICMP (1), length 84)
    192.168.136.148 > 34.117.59.81: ICMP echo request, id 3799, seq 1503, length 64
23:24:41.825887 ipsec7 Out IP (tos 0x0, ttl 63, id 16294, offset 0, flags [DF], proto ICMP (1), length 84)
    100.74.24.67 > 34.117.59.81: ICMP echo request, id 3799, seq 1503, length 64
23:24:41.840059 ipsec7 In  IP (tos 0x0, ttl 121, id 0, offset 0, flags [none], proto ICMP (1), length 84)
    34.117.59.81 > 100.74.24.67: ICMP echo reply, id 3799, seq 1503, length 64
23:24:42.917758 wlan2 In  IP (tos 0x0, ttl 64, id 16436, offset 0, flags [DF], proto ICMP (1), length 84)
    192.168.136.148 > 34.117.59.81: ICMP echo request, id 3799, seq 1504, length 64
23:24:42.917985 ipsec7 Out IP (tos 0x0, ttl 63, id 16436, offset 0, flags [DF], proto ICMP (1), length 84)
    100.74.24.67 > 34.117.59.81: ICMP echo request, id 3799, seq 1504, length 64
23:24:42.946428 ipsec7 In  IP (tos 0x0, ttl 121, id 0, offset 0, flags [none], proto ICMP (1), length 84)
    34.117.59.81 > 100.74.24.67: ICMP echo reply, id 3799, seq 1504, length 64

I've played around for a few hours and can't figure out why reply packets are not being routed correctly. Given that VPN by Google is a system app, it is likely that there is some advanced things that they are doing that are not accessible to a normal VPN app. I recommend simply using a different VPN like 1.1.1.1 for now.

@Mygod Mygod added the bug label Dec 28, 2024
@androidacy-user
Copy link

I've played around for a few hours and can't figure out why reply packets are not being routed correctly. Given that VPN by Google is a system app, it is likely that there is some advanced things that they are doing that are not accessible to a normal VPN app. I recommend simply using a different VPN like 1.1.1.1 for now.

Their VPN client is partially open source, but it's the fact it's a platform VPN not that it's a system app that makes it "special". They also use a custom protocol (source is on their GitHub somewhere idr which repository).

@Mygod
Copy link
Owner

Mygod commented Jan 4, 2025

Are you talking about this library? It seems like it's used by the old Google One VPN instead.

Their apk is obfuscated and minimized and honestly I'm not sure why anyone wants to use this VPN instead of many other alternatives.

@androidacy-user
Copy link

androidacy-user commented Jan 4, 2025

Are you talking about this library? It seems like it's used by the old Google One VPN instead.

Their apk is obfuscated and minimized and honestly I'm not sure why anyone wants to use this VPN instead of many other alternatives.

Pixel VPN and Google one VPN use essentially the exact same tech and servers.

And it's fast, it's free for pixel users, it has minimal battery impact, you don't get blocked by as many websites and it's built in meaning you don't have to install additional apps.

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

No branches or pull requests

7 participants