Windows

Windows Azure Toolkit for Mono for Android

I have just released MonoDroid.WAToolkit, which are some tools, which allows you to authenticate against Windows Azure on the Mono for Android platform.

Grab the code here: https://github.com/Cheesebaron/MonoDroid.WAToolkit

SSH Tunneling

Sometimes it can be very useful to tunnel you traffic to another server. For instance if you want to stream content from another country, when the content is restricted to that country. This requires that you actually have an available server in that country. Lets assume you have, how do you tunnel your traffic to that server then? One solution is by creating a SSH tunnel, which I will talk briefly about here.

Windows users, I recommend using PuTTY, which I also will base this small howto upon, which can be acquired from their official download page.
Linux users can use their normally built in SSH client.

The method I will use for this is called SSH dynamic tunneling, and will allow your own computer to act as a Proxy.

Windows

  1. Open up PuTTY
  2. Expand Connection
  3. Expand SSH
  4. Choose Tunnels
  5. In here you can choose which local port you want to act as Proxy for the traffic you want to tunnel.
    • In the Source Port field choose the port you want to use as Proxy, i.e. 8080
    • Leave Destination blank and tick Dynamic
    • Press Add
  6. Now go back to Session
  7. In the Host Name field enter the host name or IP address of the SSH server you want to connect to
  8. In the Port field enter the Port of the SSH server
     
  9. (Optional) If you want to save this for next time you want to use it in the Saved Sessions field write the name of this session and press Save.
  10. Now press Open. (Log in and so on)


Now you have sucessfully created a tunnel. Now we need to configure Windows to use this Proxy.

  1. Go to your Control Panel
  2. In Vista and Win7 choose Network and Internet
  3. Choose Internet Options
  4. A new window should appear. Go to the Connections tab
  5. Press LAN Settings
  6. Tick Use a proxy server...
  7. Go to Advanced and untick Use the same proxy for all protocols
  8. Fill out Socks with 127.0.0.1 and the Port you choose
  9. Press OK and OK and OK

Now you should be done!

Linux

  1. Open the command line
  2. Type in ssh -p <host port> -D <proxy port> <hostname or IP> (replace stuff in <>. -p <host port> is only necessary when SSH server is running on another port than 22)
  3. Configure your applications to use SOCKSv5 using localhost and the proxy port you choose. (Systemwide configuration can be done with IPtables, proxychains and other applications).

Have fun with your proxy.