I'm off to university in October, and although I only play an hour or two a day, I love WoW as it's a nice way to escape from reality. The only problem is that my university (and many others) block the ports needed for WoW (to stop malicious attacks, etc.), but they told me I could tunnel it if I could work out how. There are obviously many other reasons you'd want to tunnel WoW, and I've searched long and hard on how to do so, but no one has worked out how to do it on OS X (or at least documented doing so). Well, ladies and gents. I have, and here's how I did it.
First, I'm going to assume you know what a CLI is, and that you're familiar with Terminal. If you're not, this tutorial probably isn't for you.
Getting the right software installed
You might need the Developer Tools installed. I can't confirm this as I've only been running this on computers that have it installed. If darwinports refuses to install tsocks and gives you an error message, go and install the Developer Tools.
First things first, head over to the DarwinPorts repository and get yourself darwinports, version 10.3 or version 10.4 depending on what version of OS X you've got. If you're using Fink, you can either try and work this out for yourself, or install darwinports as well).
After you've installed darwinports you need a program called tsocks. tsocks takes a program without socks support and gives it socks support. To do this, open up Terminal and type sudo port selfupdate. After that is done, go ahead and type sudo port install tsocks.
Pointing WoW to the SOCKS server
Now you need to setup tsocks with the SOCKS server you're going to be tunelling through. If you're going to be using an SSH connection, then follow the instructions below. If you're using a SOCKS server (not using SSH), then substitute your server address, port, and type of that server where indicated. You should should still be in Terminal; if you're not, start it up again and type sudo nano /opt/local/etc/tsocks.conf.sample to edit the tsocks configuration file. Where it says We can access 192.168.0.* directly, and there's a line underneath it, comment it out by putting a # at the beginning of the line (thats Shift-3 if you don't know the keyboard shortcut). Where it says Otherwise we use the server, you need to edit the server to localhost, and then add these two lines:
server_type = 4
server_port = 1080
So if you're trying to tunnel through SSH, your screen should look like this. Now save your edits, omitting the .sample at the end (hit Control-O then backspace so it just says /opt/local/etc/tsocks.conf, and then hit Enter). Exit by hitting Control-X.
ssh -g -D 1080 USER@HOST -L 6112/*/6112 -L 3724/*/3724
Replace USER and HOST as necessary. Change the port number from 1080 if you changed it in the tsocks configuration file in the step before this one. Go ahead and run that command in Terminal, and it'll ask you for your shell password -- don't close the Terminal window after running the command!
tsocks /Applications/World of Warcraft/World of Warcraft.app/\
Contents/MacOS/World of Warcraft &
Make sure the & is at the end!
Mac OS X Hints
http://hints.macworld.com/article.php?story=20060831091645414