In my Windows system, I was able to create a tunnel by running the command below using Putty:

```
putty.exe -D 12345 -P 8888 localhost

```

I'm not used to Mac yet and I would like to try it out on Mac. Does anyone know the command to achieve same tunneling in Mac OS X or do I have to use a client?