adb reverse tunnel
adb_reverseSet up an ADB reverse tunnel to route proxy traffic from an Android emulator through the host, bypassing emulator NAT and host firewall for HTTP interception.
Instructions
Tunnel the proxy port back to the device over the adb channel (device 127.0.0.1: -> host). Use this for emulators behind their own NAT (e.g. MEmu, where the gateway is the emulator's virtual router, not the host) - then set the device proxy to 127.0.0.1:. Bypasses host firewall/NAT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Proxy port (default 8000). | |
| serial | No |