Facebooker provides a super-simple tunneling script using which you can create a tunnel between a public server and your computer. This script is essentially a Ruby wrapper written around ssh.
Recently I migrated my application from facebooker to Koala. In the process I extracted out the tunneling script from facebooker. I also made some changes to it so that it can be used easily. The script is hosted as a gist.