Cannot connect using bridges
Steps to reproduce
- Not behind any firewall blocking.
- Configure built-in obfs4 bridge + all apps protected.
- Force stop Tor VPN.
- Start Tor VPN and connect. Get "connected" very quickly (1-2 seconds).
- Visit checkip.amazonaws.com in Chrome. The site can't be reached.
I get the same results with:
- Built-in obfs4 bridges
- Custom obfs4 bridges
- Built-in Snowflake bridges
- Custom Snowflake bridges
Logs
With built-in obfs4 bridges.
08:38:18:363 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 96
08:38:18:360 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 6
08:38:18:359 W/onionmasq: onionmasq_pt_wrapper: obfs4([scrubbed]:38224) - closed connection: readfrom: read tcp 192.168.3.91:46088->37.218.245.14:38224: read: connection reset by peer
08:38:18:169 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 101
08:38:18:165 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 92
08:38:17:155 E/onionmasq: onionmasq_pt_wrapper: obfs4([scrubbed]:443) - outgoing connection failed: dial: connect: no route to host
08:38:15:759 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 101
08:38:15:745 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 92
08:38:12:913 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 96
08:38:12:901 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 6
08:38:12:899 W/onionmasq: onionmasq_pt_wrapper: obfs4([scrubbed]:38224) - closed connection: readfrom: read tcp 192.168.3.91:46080->37.218.245.14:38224: read: connection reset by peer
08:38:07:583 W/onionmasq: onion_tunnel::dns: Received DNS query of type HTTPS, which we don't support yet!
08:38:07:575 W/onionmasq: onion_tunnel::dns: Received DNS query of type HTTPS, which we don't support yet!
08:38:07:373 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 96
08:38:07:368 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 6
08:38:07:367 W/onionmasq: onionmasq_pt_wrapper: obfs4([scrubbed]:38224) - closed connection: readfrom: read tcp 192.168.3.91:46054->37.218.245.14:38224: read: connection reset by peer
08:38:05:746 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 97
08:38:05:743 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 92
08:38:01:743 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 96
08:38:01:735 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 6
08:38:01:733 W/onionmasq: onionmasq_pt_wrapper: obfs4([scrubbed]:38224) - closed connection: readfrom: read tcp 192.168.3.91:46044->37.218.245.14:38224: read: connection reset by peer
08:37:56:811 I/onionmasq: tor_dirmgr: Directory is complete.attempt=1
08:37:56:809 I/onionmasq: tor_dirmgr: Marked consensus usable.
08:37:56:556 Bootstrap at: Bootstrapping complete
08:37:56:555 CONNECTED
08:37:56:518 I/onionmasq: onionmasq_mobile: Bootstrapping completed.
08:37:56:513 Bootstrap at: 93%: handshaking with Tor relays; directory is fetching microdescriptors (7214/7214)
08:37:56:512 I/onionmasq: tor_dirmgr: Loaded a good directory from cache.
08:37:56:511 Bootstrap at: 85%: connecting to the internet; directory is fetching microdescriptors (7214/7214)
08:37:56:503 I/onionmasq: tor_dirmgr: Marked consensus usable.
08:37:55:771 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 95
08:37:55:765 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 6
08:37:55:745 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 112
08:37:55:742 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 96
08:37:55:261 169.254.42.1:56536->10.137.184.74:443: FAILED: failed to connect to TorAddr { host: Ip(10.137.184.74), port: 443 } via Arti: tor: target address disabled locally: Cannot connect to a local-only address without enabling allow_local_addrs
08:37:55:136 I/onionmasq: onion_tunnel::dns: Starting DNS manager
08:37:55:136 D/onionmasq: onionmasq_mobile: starting bootstrap event listening ...
08:37:55:136 D/onionmasq: onionmasq_mobile: starting onionmasq...
08:37:55:136 D/onionmasq: onionmasq_mobile: successfully created tun interface
08:37:55:136 I/onionmasq: arti_client::client: Running without a keystore
08:37:55:136 D/onionmasq: onionmasq_mobile: creating onion_tunnel...
08:37:55:136 D/onionmasq: onionmasq_mobile: Onionmasq_runProxy on Android API 31
08:37:55:136 --------- beginning of main
08:37:54:915 169.254.42.1:42768->10.190.81.127:7275: FAILED: failed to connect to TorAddr { host: Ip(10.190.81.127), port: 7275 } via Arti: tor: target address disabled locally: Cannot connect to a local-only address without enabling allow_local_addrs
08:37:54:911 WARNING: Unknown FailedConnectionEvent with proxySrc:proxyDst tuple 169.254.42.1:42768:10.190.81.127:7275
08:37:54:911 169.254.42.1:42768->10.190.81.127:7275: FAILED connection to 10.190.81.127:7275: tor: target address disabled locally: Cannot connect to a local-only address without enabling allow_local_addrs (app 1021)
08:37:54:752 Bootstrap at: 0%: connecting to the internet; not downloading
08:37:54:643 Start reading onionmasq logs from logcat
08:37:54:599 CONNECTING
Edited by sajolida