From 7e2020d17978b9382885953d7141d2352417c6cc Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 26 Dec 2024 09:22:26 +0200 Subject: [PATCH] adb-forward: add page (#15251) --- pages/common/adb-forward.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/adb-forward.md diff --git a/pages/common/adb-forward.md b/pages/common/adb-forward.md new file mode 100644 index 0000000000..b62f177245 --- /dev/null +++ b/pages/common/adb-forward.md @@ -0,0 +1,20 @@ +# adb forward + +> Connect to an Android device wirelessly. +> More information: . + +- Forward a TCP port: + +`adb forward tcp:{{local_port}} tcp:{{remote_port}}` + +- List all forwardings: + +`adb forward --list` + +- Remove a forwarding rule: + +`adb forward --remove tcp:{{local_port}}` + +- Remove all forwarding rules: + +`adb forward --remove-all`