Use ssh tunnel to provide access across a firewall by jgn on Friday, August 10, 2007 in Technology

Hmm, Facebook applications work by calling back to a URL. So that means that if you're developing a Facebook app, you need to open a port so that Facebook can get to your developer machine. That seems a bit reckless. Another way to do it is to create an ssh tunnel to another machine that is more exposed on the Internet. So say I have a server myserver.com where port 8081 isn't blocked. I can do this:

ssh -g -R 8081:127.0.0.1:8080 -N myserver.com Mo' better.

comments powered by Disqus