Enable transparent capture
adb_enable_transparentCapture all Android app traffic, including apps that ignore the system proxy, by redirecting TCP ports 80 and 443 via iptables DNAT. Uses adb reverse tunnel for loopback; requires root.
Instructions
Redirect ALL device TCP :80/:443 to the proxy via iptables DNAT - captures every app's traffic on L3, including apps that ignore the system proxy (e.g. VK). No companion app, no VPN dialog. Requires root (Nox/MEmu out of the box). Defaults to a loopback target via adb reverse tunnel (works behind emulator NAT); pass hostPort to DNAT to a reachable LAN host.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Proxy port for the loopback default (8000). | |
| serial | No | ||
| hostPort | No | DNAT target <host-ip>:<port>. Omit to use 127.0.0.1:<port> + reverse tunnel. |