Friday, December 23, 2011

SSH tunneling by using VPS servers

What is virtual private server ?
In this tutorial I want show you one of the efficient ways to bypass Internet filtering using VPS (Virtual Private Server) and SSH tunneling.
Sometimes I see renting price of server it's very interesting to in comparison  several years ago.
By increasing hardware's technology the prices goes down and it's more attractive for people to rent a dedicated server for their work.
Hosting companies even prepare better situation for using their service by dividing a real dedicated server to several virtual server named VPS.
A virtual private server is like a real dedicated server you can manage it, control it, install programs and use it's resources.In-fact all resources of a real physical server divided between virtual servers like ram,cpu,storage space and etc.

VPS is a good option for who want to have a really cheap server and it's help every one have a VPS for any purpose.
What is SSH?
basically is a protocol to connect  and manage a remote server.
What is Internet Tunneling ?
Internet tunneling means you create a virtual communication tunnel and data is encrypted via Internet  between your client and you server.
If you virtual private server location  is in a free country  without Internet filtering , you can use you server Internet with tunneling methods.
Lets step by step configure a tunnel using SSH protocol:

1.Buy a virtual private server from well known providers.
Please notice you don't need a  huge amount of ram or storage.If you want service only yourself,  you need at least a  virtual server with 128 Mb ram and 2Gb storage and 500 MHZ. the price is around 2 US dollar for one month. It's interesting, is not?
Most VPS providers prepare a SSH account for managing server for free!
You can read VPS detail for a SSH account or ask hosting company  about that before you buying.

2. download a software called Putty from following here. (PuTTY are free software, licensed under GPL)
3. Install putty and open it, it's should be something like this:
Enter virtual server IP address or host name that provider gave it to you.
Some provider changes SSH standard port number. the port number is 22 . please don't change it if provider didn't tell you about new port.

4.In the left panel of Putty click on SSH and open details under it and select tunnel like following picture.
In above example we define port 9090 as tunnel port in our computer, you can set any free port like 1080 .
Now, go to step one and  enter a name for you setting and save it for next time.
5.  click on open button then a back screen will open and ask you about SSH user and password.
enter user/pass carefully and notice that while you enter password nothing show as you entered.

6. Set Browser proxy for using free internet over port 9090.


7. Check your IP address really changed using following site http://www.where-my-ip.com 
Enjoy free Internet without filtering :)





3 comments:

  1. Get Blazing Fast Virtual Private Server (Asia Optimized) For Affordable Price Here - THESTACK.NET

    ReplyDelete
  2. I stumbled upon this blog post while looking for information on SSH tunneling with VPS servers. It's great to see a straightforward explanation of the process. I'm currently exploring VPS hosting in the Philippines and was wondering if you have any recommendations or insights into the best providers in the region for SSH tunneling. Any advice would be much appreciated. Thanks for sharing your knowledge!

    ReplyDelete
  3. Great tutorial! SSH tunneling is a powerful way to bypass internet restrictions. I’ve found that using a cheap VPS server is a game-changer for this process—affordable, efficient, and scalable. It’s a great solution for anyone looking to secure their connection while staying within budget. Thanks for sharing this!

    ReplyDelete