bdd346a507c55aa3e0cf158fd914cf9578d027ca
tethering.md
| ... | ... | @@ -20,7 +20,7 @@ Nothing in particular on the phone or the SSH host - just set up a SOCKS port-fo |
| 20 | 20 | The setup on the tethered laptop's a bit more particular though... |
| 21 | 21 | # Laptop |
| 22 | 22 | To avoid sending any data through the phone that isn't going through the proxy, you'll need to hobble the network a bit. This is on OSX, but similar should work elsewhere too. |
| 23 | -## Connect |
|
| 23 | +## Get IP adresses |
|
| 24 | 24 | Connect to the phone wifi sharing, and run 'ifconfig' and 'netstat -rn' to get your IP and default route. The wifi sharing network range seems to be completely stable on android, so we can just set a static IP below, and the phone (the router) is always on the .1 address. |
| 25 | 25 | Now disconnect. |
| 26 | 26 |