Synology usage series 1 – SSH tunneling using putty and Bitvise Tunnelier


Configure client side – using Putty.exe

The benefit of putty is that it is a standalone executable. So you can run it without the need of administrator right of your PC.

  1. Create a tunnel.bat in the same directory of putty.exe
  2. Add the following line to tunnel.bat
  3. putty -D 8080 -P 22 -ssh [external IP of DS207+]
  4. save the file
  5. Execute the tunnel.bat, login to the DS207+ using the newly created account (i.e. ssh)

Configure client side – using Bitvise Tunnelier

If you can install things on your PC, I prefer using Bitvise Tunnelier instead (it is a more complete SSH client with better UI and logs)

  1. Download Tunnelier and install it.
  2. Run Tunnelier.
  3. Setup Tunnelier
  4. Tunnelier setup using password auth

    Tunnelier setup using password auth

    Host: IP address or DDNS domain name of your DiskStation
    Port: Port number of the SSH Server of your Diskstation, i.e. 22
    Username: SSH user
    Initial meth: password
    Password: Password of the SSH user

    You can click ‘Store encrypted password if you don’t want to input the password again another time.

    Now go to the ‘Services’ tab

    Tunnelier setup as local Socks Proxy Server

    Tunnelier setup as local Socks Proxy Server

    Click ‘Enabled’
    Listen Interface: 127.0.0.01
    Listen Port: 8080

    Tunnelier Setup is DONE!

    Click ‘Save Profile’ to save the setup.

    Click ‘Login’ button to test the setup. If connection success, your setup is fine.

Configure client side – Setup Browser

Setup for Internet Explorer

IE LAN Setting for local Socks Proxy Server

IE LAN Setting for local Socks Proxy Server

IE LAN Advanced Setting for local Socks Proxy Server

IE LAN Advanced Setting for local Socks Proxy Server

IE LAN Advanced Setting for local Socks Proxy Server"

Setup for Firefox browser

Firefox setup for Socks 5 Proxy

Firefox setup for Socks 5 Proxy

For firefox, you may also want to setup advanced setting to use remote DNS rather than your local one

  1. about:config in address bar
  2. scroll down the list and looks for network.proxy.socks_remote_dns, double click it to set it to TRUE.

DONE! Enjoy surfing all website now! For other application like MSN, all you need is to change Proxy setting of the application, you don’t need to repeat every single step again.