Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.23k stars 571 forks source link

Connection made but no internet on phone #529

Open praksharma opened 6 months ago

praksharma commented 6 months ago

So, I successfully connected to my phone with miui13.

╰─ ./gnirehtet run
2024-02-11 15:52:00.846 INFO Main: Starting relay server on port 31416...
2024-02-11 15:52:00.846 INFO Main: Checking gnirehtet client...
2024-02-11 15:52:00.846 INFO Relay: Relay server started
2024-02-11 15:52:01.101 INFO Main: Starting client...
Starting: Intent { act=com.genymobile.gnirehtet.START cmp=com.genymobile.gnirehtet/.GnirehtetActivity }
2024-02-11 15:52:03.393 INFO TunnelServer: Client #0 connected
2024-02-11 15:52:03.546 INFO TcpConnection: 10.0.0.2:50444 -> 8.8.8.8:853 Open
2024-02-11 15:52:03.556 INFO UdpConnection: 10.0.0.2:45913 -> 8.8.8.8:443 Open
2024-02-11 15:52:03.603 INFO UdpConnection: 10.0.0.2:49520 -> 8.8.8.8:53 Open
2024-02-11 15:52:03.804 INFO UdpConnection: 10.0.0.2:14020 -> 8.8.8.8:53 Open

Whenever I try to open any link or any app which requires the internet the terminal is flooded with this TCPConnecttion and UDPConnection like this

2024-02-11 16:07:31.322 INFO UdpConnection: 10.0.0.2:55144 -> 8.8.8.8:53 Close
2024-02-11 16:07:31.322 INFO UdpConnection: 10.0.0.2:49299 -> 8.8.8.8:53 Close
2024-02-11 16:07:31.322 INFO UdpConnection: 10.0.0.2:49853 -> 8.8.8.8:53 Close
2024-02-11 16:07:31.322 INFO UdpConnection: 10.0.0.2:6494 -> 8.8.8.8:53 Close
2024-02-11 16:07:31.322 INFO UdpConnection: 10.0.0.2:40599 -> 8.8.8.8:53 Close
2024-02-11 16:07:31.322 INFO UdpConnection: 10.0.0.2:10572 -> 8.8.8.8:53 Close
2024-02-11 16:07:31.322 INFO UdpConnection: 10.0.0.2:34993 -> 8.8.8.8:53 Close
2024-02-11 16:07:31.322 INFO UdpConnection: 10.0.0.2:44522 -> 8.8.8.8:53 Close
2024-02-11 16:07:31.322 INFO UdpConnection: 10.0.0.2:36341 -> 8.8.8.8:53 Close
2024-02-11 16:07:31.322 INFO UdpConnection: 10.0.0.2:57002 -> 8.8.8.8:443 Close
2024-02-11 16:07:31.591 INFO UdpConnection: 10.0.0.2:47051 -> 8.8.8.8:53 Open
2024-02-11 16:07:33.367 INFO UdpConnection: 10.0.0.2:14702 -> 8.8.8.8:53 Open

But the internet doesn't work on my phone. I tried almost all app including the web browser. The VPN is working btw.

praksharma commented 6 months ago

Ok I updated the adb to the latest version. Now i can use Google widget and the internet actually works, but can't use any other app. I tried turning on wifi or mobile data, but they all stop using the reverse tethering connection.