proxy_mobile_teardown
Tear down mobile proxy setup: deactivate Android target, stop listeners, and generate a sudo-runnable script to remove iptables rules and restore NetworkManager management.
Instructions
Reverse proxy_mobile_setup: deactivate the Android target if any, stop the transparent + explicit listeners, and emit a sudo-runnable script that removes the iptables rules and restores NetworkManager management.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ap_iface | No | AP/USB interface name. Auto-detected via cdc_ncm if omitted. | |
| ap_subnet | No | Subnet the AP serves (must match setup). | 192.168.4.0/24 |
| block_quic | No | Whether the QUIC DROP rule was set up (so we know to remove it). | |
| stop_proxy | No | Also stop the explicit proxy (default: keep it running for continued use). | |
| egress_iface | No | Host's egress iface (must match setup). | |
| android_target_id | No | Android target ID to deactivate (from proxy_mobile_setup response). |