Skip to content

Instantly share code, notes, and snippets.

@floriandejonckheere
Created February 9, 2015 15:50
Show Gist options
  • Save floriandejonckheere/3aa5ca635d3b6e990919 to your computer and use it in GitHub Desktop.
Save floriandejonckheere/3aa5ca635d3b6e990919 to your computer and use it in GitHub Desktop.
Make Android emulator available to LAN
# sysctl net.ipv4.conf.all.route_localnet=1
# iptables -t nat -I PREROUTING -p tcp --dport 5555 -j DNAT --to 127.0.0.1:5555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment