portforward ec2 instance to localhost for rails development

view full story

http://serverfault.com – I'm trying to work with facebooks real-time updates but I'm having trouble giving facebook a callback address that they can use. My dev machine is behind a firewall so I want to use an ec2 instance to forward traffic to the dev machine. Progress so far: App is up and running on localhost: Created Ubuntu 10.11 instance on ec2 Authorize ports on ec2 instance localhost$ec2-authorize default -p 5000 localhost$ec2-authorize default -p 22 Configure sshd on ec2 localhost$ssh -i ubuntu@ec2_public_dns -i ~/.ssh/ec2_key_pair.pem ec2$sudo echo "AllowTcpForwarding yes" >&g (HowTos)