Tuesday, May 17, 2011

How to use ec2 as proxy using SSH tunnel for geo related web testing on linux

create ssh tunnel using follwing command (change port number,key file address,username and ec2 instance ip address accordingly),
ssh -D 9999 -i key_file_location username@ec2_instance_address
then set SOCKS HOST proxy setting for the firefox (prefernce->network tab) or other browser as shown in the figure


















Close the ssh tunnel once you are done with testing.

No comments:

Post a Comment