Posted by
admin on Jan 27, 2012 in
windows |
2 comments
In my previous post, I’ve introduced you to XShell, the better free alternatives to putty as SSH client in Windows. Now, we will create a SSH tunneling using Xshell just like in putty. If you are new to SSH tunneling, simply put, you by using SSH tunnel, you have your own anonymous secure SOCKS5 proxy on your own. (Of course, first: you had to have a SSH server on the internet). What’s anonymous SOCKS5 prosy for? A lot, such as: anonymous browsing, spoofing your originated country, or just an alternative to private VPN.
OK, so let’s start:
- Create a new SSH server session in XShell (File –> New or Ctrl+N) and fill all necessary server info such as session name host IP address (or hostname) and port number (if you are using non-conventional port)

- Choose “Tunneling” in the left Category

- Click on the “Add” button

- A new window/form will be shown. Choose “Dynamic (SOCKS4/5)” in “Type (Direction)“. Fill your desired local port number for the tunnel (default is 1080). Then activate “Accept local connections only” check box. Click “OK” then “OK” again to close the server configuration window.

- After the session settings is saved, connect it! Now your own local SOCKS5 proxy is ready. You can use it for your browser (example : Firefox Options/Preferences –>Advanced–>Network–>Settings). Fill “localhost” or “127.0.0.1” as your “SOCKS Host” then fill “Port” with the same number as your XShell settings in previous steps. Now you are ready to browse anonymously using your own SOCKS5 proxy.

- Back to Xshell, you can view the traffic going through the SOCKS5 proxy via accessing XShell menu: View –> Tunneling Pane

- This is how the traffic looks like:

- Not sure you are already in anonymous SOCKS5 proxy? Access my other site project here: http://reverse.vrank.org/ipinfo.php . The site will tell you what’s your detected IP address and where country are you from (based on IP address).

As you can see, my IP address now is the same as my SSH server’s IP and my country is also the same as where the SSH server reside. It is detected as United States although I’m actually browsing from Indonesia. Now, the three server variables also had blank/none value that tells the site you’re directly accessing the site not via proxy whatsoever. Happy tunneling!
Related Posts via Taxonomies
Is there a quicker way to do this on a windows server with multiple ips
say i have 5 additional ip address 10.120.1.1 to 10.120.1.6
how to i manually assign/open random ports to these ips example
ip1:port 11223, ip2,port112254 ip3:port12345
i would like these additional ips to be able to take UDP/TCP traffic.
Dont know how to do this and your assistance / guidance will be needed.
Thanks
your remote server only need to open one port, i.e. 22 (standard SSH port — which of course you can change it to whatever you like on SSHD config)
while your XShell client open multiple SSH connections/sessions to your remote server via different IP addresses (create multiple tunneling settings).
Now your localhost/local PC will have 5 local socks5 proxy working on different port based on your preference.