Skip to content

Instantly share code, notes, and snippets.

@lattice0
Created April 16, 2022 04:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lattice0/0040c1d29606c7a8f34c3b5b78814fdb to your computer and use it in GitHub Desktop.
Save lattice0/0040c1d29606c7a8f34c3b5b78814fdb to your computer and use it in GitHub Desktop.
socat android redirection emulator
# On Host
socat tcp-listen:5037,bind=192.168.122.1,reuseaddr,fork tcp:localhost:5037
# On virtual machine
socat tcp-listen:5037,bind=localhost,reuseaddr,fork tcp:192.168.122.1:5037
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment