Closed bruceleerabbit closed 2 years ago
2022-10-02 17:53:43 TCP: connect to [AF_INET]192.168.42.128:13444 failed: No route to host
That is an error from the operating system (Android). There is not really anything the app can do about that. It is probably more Android that changed than anything else.
2022-10-02 17:53:43 TCP: connect to [AF_INET]192.168.42.128:13444 failed: No route to host
That is an error from the operating system (Android). There is not really anything the app can do about that. It is probably more Android that changed than anything else.
AOS 5.1.1 is from 2015 (1 yr before the reverse tethering guide was published). So it could not be due to an AOS change. The IP 192.168.42.128 exists only in the network space created by openvpn, so if the OS can’t reach it, this means there’s a problem with the vpn’s state.
The IP 192.168.42.128 exists only in the network space created by openvpn
if you try to connect to a IP that your VPN provides, there is no wonder that this does not work
So IIUC, you’re saying this guide could have never worked, correct? That author later wrote a Windows version of the same process, and used the same IP for that.
To make issues more manageable, I would appreciate it if you fill out the following details as applicable:
General information
Description of the issue
After following the guide on reverse tethering over USB using openvpn (written in 2016), openvpn on the android yields “No route to host”.
Log (if applicable)
Configuration file
See the guide.
Speculation — and secondary problem
Openvpn assumes that if there is no wifi connection & no mobile broadband connection, then there must be no connection at all (covered in bug #1540). In my case, I connected to a wifi router that had no uplink as a workaround to bug #1540. This was sufficient to trick openvpn into proceeding. But then openvpn fails to connect over USB to the ovpn peer that runs on a PC.
This apparently worked in 2016, but apparently some change was made such that openvpn attempts to connect over the dummy wifi uplink instead of the USB connection.