Tuesday, March 5, 2013

SSH tunnel faster than VPN server


Let me introduce you the SSH tunnel service, SSH (Secure Shell) is is a cryptographic network protocol for secure data communication, for more details, please check this WiKi page :http://en.wikipedia.org/wiki/Secure_Shell.
SSH tunnel service can let you set only your Browser traffic go through the VPN server, and you can set one browser use VPN while another one is not use the VPN, for example, you have 2 browsers in your system, Microsoft IE and Google Chrome, you can set only Chrome use the VPN and IE don’t use the VPN service, so when you wanna open blocked sites, you open them in the Chrome, when you wanna open normal sites, you open them in the IE, this will increase your speed, because you didn’t let all your traffic go through the VPN server.

How to using Putty and SSH tunnel as secure SOCKS proxy


In this tutorial I’ll demonstrate how to use Putty on Microsoft Windows PC and SSH tunnel that I can use as a secure SOCKS proxy on your computer.
What’s you need?
1. PuTTY SSH Client. (Download PuTTY from here.)
2. SSH access to a unix/linux server. (dedicated server, vps or shell account) We recommend use cheap webhosting that support SSH.
Recommend  SSH webhosting .
Special Discount $50 coupon, “50PPR”  ($ 50 OFF for all PrivateProxyReviews.com User!)

Now Let’s  configure it step by step.
1. Configure Host Name (Or IP Address).Run PuTTY , on the “PuTTY Configuration” window. On the “Host Name (or IP address)” field, type the hostname or IP address of your remote server.  This may be the domain name for your network, if you have domain name resolution via a dynamic DNS service or other means set up to allow access to your network via a domain name, or it may be the IP address for your router/firewall.
2.Fill inPort: SSH normally uses port 22, but this may be different, depending on how port forwarding may be set up on your trusted network.
Check screenshot for help:
SSH putty session configuration SOCKS 5
3.Add Source Port: Open the Connection > SSH > Tunnels.Fill in a port number that will be used locally,For instance, you might use port 7070 for forwarded HTTP requests.
4.Select the Dynamic
Check screenshot for help:
putty AND ssh tunnel ADD PORT 1080 or 7070 andso on
5. go back to the “Session” tab at the top of the menu, give the new connection a name and click on the “Save” button.after saving the session settings again to make sure the encrypted tunnel settings will be retrievable, click the Open button to establish the connection. You will have to provide a valid username and password on the remote system to establish the connection.(If you use justhost webhosting the username and password is your cPanel account and password.)
Now on you can use this connection to login to your server. After login, you winn be able to use the connection as SSH Tunnel, you can use  it  as SOCKS proxy now.

Configure Firefox use this SSH SOCKS proxy:
Open the  Options >  (select) Advanced. Make sure the Network tab is selected, and click the Settings button. Fill in the following data:
  1. Configure proxies to access the Internet: Select Manual Proxy Configuration.
  2. SOCKS Host: Enter 127.0.0.1 into the text field.
  3. Port: For the SOCKS Host, fill in the same port number you specified in the PuTTY tunneling dialog —7070 in the above example.
  4. Click the OK button to commit the changes.Done!
Check screenshot for help:
firefox ssh socks 5 127.0.0.1
5. open the about:config page, and change network.proxy.socks_remote_dns to true.
Check screenshot for help:That’s all enjoy your private proxy.
proxy_socks_remote_dns,private proxies,firefox socks

SSH tunnel is a socks5 proxy service, the big advance of this kind of service is, you can use both VPN network and the local network in the same time on the same device. because VPN network more or less slow down your internet speed. so sometime, local network is better than VPN network. the normal VPN is global, means all your traffic go through the VPN servers, but the SSH Tunnel service is only let your specific browser traffic go through VPN server, for example, you can setup SSH Tunnel on your firefox or chrome to use VPN network, and use local network on your IE.
We didn’t a simple test, using SSH tunnel service to stream video sites is much faster than the normal VPN, and one more important thing is, you can even set which sites go through the VPN server, this is highly customable .

No comments:

Post a Comment