Wow - i didn't expect this would generate quite this much response. Looks like i've made the front page of Lifehacker and various other blogs.
This is an experimental SOCKS proxy and Port Bouncer that should allow you to connect your laptop to the internet using the internet connection (EDGE, 3G or Wifi) of your T-Mobile G1 Cellphone.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
It's not really a true "tethering" app. Presently we don't have access to any low level packet APIs so it's impossible (without hacking the lower levels of the phone) to write something that does the kind of NAT connection possible with Windows Mobile phones.
My name's Graham Stewart, I'm a 28 yr old Software Consultant in Boulder, CO. I'm also involved in various other ventures, including the news discussion aggegrator banniNation.com. I'm also a keen photographer.
Read the bit above about no warranty again. This shouldn't damage your phone, but if it does, it's your own fault!
The SOCKS proxy will let you connect things like firefox to the internet
Windows: adb forward tcp:1080 tcp:1080 Linux/Mac: ./adb forward tcp:1080 tcp:1080
Socks Proxy: localhost Port: 1080Leave the others blank
The port bouncer will let you connect to a single port on a remote host. This works well if you need to establish an SSH tunnel to your home machine.
This should work for TCP only vpns (openvpn can be configured in this mode) but it wont work for Microsoft PPTP (because it's GRE based) or most typical openvpn setups (because they are UDP based).
Windows: adb forward tcp:4444 localabstract:Tunnel Linux/Mac: ./adb forward tcp:4444 localabstract:Tunnel
ssh -p 4444 user@localhostand you should be routed through to the server in question