Archive

Archive for the ‘network’ Category

How to SSH Tunneling in Windows and Linux

November 9th, 2009 sadegh No comments

If you ever wanted to ssh tunnel your traffic here is how to do that on Linux box or Windows box.

On Linux box then just enter the following line :

ssh -fND localhost:3443 ServerUName@Server

You gotta change ServerUName to Username and Server to the IP or the name of server you are logging into.

On Windows Box you need to download putty ( Download ) then Open it up

It doesn’t require any installation just double click on putty.exe after it opened up in the left menu select SSH in the “Preferred SSH protocol version” choose 2 and above it check the “Enable Compression”

Figure 1

Figure 1

Then click the plus sign beside SSH in left menu to expand it, then select “Tunnels” afterward in the right section in “Source port” enter for example 3443 and below the destination choose dynamic as in the below figure. ( Sorry in this figure I entered 9191 instead of 3443 but it doesnt matter you can enter whatever you want but you gotta change all the others 3443 as well if you change it)

Figure 2

Figure 2

Then hit “Add”, Now in forwarded lists you would see “D3443”.

Now scroll up the left menu and choose “Session” in the “Host Name” enter the IP Address or the host name and then click on “Open” button

Figure

Figure

Then it will ask your credential enter them.

Figure 4

Figure 4

So now in Firefox I go to Edit → Preferences → Advanced → Network → Settings → Choose Manual proxy configuration , Uncheck Use this proxy server for all protocols and clean HTTP proxy and its port Field and all the other fields then go to SOCKS Host and enter localhost into that field and in the port field enter 3443.

Figure 5

Figure 5

Then click on ok and close all the window ,

Now all the traffics in Firefox first go to your server and then from that server goes to outside world or to your Computer.

You can confirm that by going to ipchicken.com, You should see the IP Address of the server that you just set for tunneling not your own IP Address.

The Best VNC Software

October 13th, 2009 sadegh 1 comment

I really like VNC, It helps me in my every day work. Most of the time I wanna share screen to see my Colleagues screen and help them out or vice versa.

There are different VNC software which you can use, for example, TightVNC , RealVNC and UltraVNC. So lets see which one is the best.

TightVNC

tightvnc

tightvnc

I didn’t use this one very much, because of the other ones ;) but it seems quite cool software beside its Open Source and free. But it has ~ like many other remote screen software, problem with multiple monitors.

RealVNC

RealVNC

RealVNC

I used this one for quite long time and I really enjoyed using it But you gotta purchase it.

It has also free version but free-version is featureless and has nothing compared to other free VNC software.

Like TightVNC it has problem with multiple monitors.

UltraVNC

UltaVNC

UltaVNC

Now I use this guy. I think its The best one. First of all its Open Source and free and the other one it doesn’t have any problem with multiple monitors.

UltvaVNC has cool Addons, you may like to check them out here.

One of them is called singleclick. Its awesome , you can create a single file and send it to your customer, this file is just 166k. When they click on it and run it you can connect to their computer remotely. Its better than Remote Assistance or any other solutions

VNC Software in other environments


PortableVNC ~ PSP

There is a application called portablevnc, Its vnc viewer for psp

PalmVNC ~ Palm

Its vnc viewer for Palm OS® platform.

SymVNC - Symbian

Its VNC viewer for Symbian 3rd Edition .

J2ME VNC ~ J2me

Its VNC viewer that uses j2me api. Theoretically it must run on every smart phones.

JaaduVNC ~ iPhone

Its VNC viewer for iphone