Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Play World of Warcraft via SOCKS or SSH tunnel Apps
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.

Tunnelling through SSH

If you've got a SOCKS server, skip this step. If you're tunneling through SSH, read on. The command for tunelling through SSH is the following:
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!

Running WoW through tsocks

Now, we socksify WoW by (in Terminal) running the command:
tsocks /Applications/World of Warcraft/World of Warcraft.app/\
Contents/MacOS/World of Warcraft &
Make sure the & is at the end!

WoW should now work through your SOCKS server/SSH tunnel. This method has worked for me, but your mileage may vary, and WoW might act funny during login/character selection, but after it's connected to a server, it seems to work perfectly. If it works for you, great! If it doesn't, oh well. Feel free to post comments with your success/failure...
    •    
  • Currently 2.25 / 5
  You rated: 2 / 5 (8 votes cast)
 
[122,399 views]  

Play World of Warcraft via SOCKS or SSH tunnel | 22 comments | Create New Account
Click here to return to the 'Play World of Warcraft via SOCKS or SSH tunnel' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: GEllenburg on Sep 05, '06 12:27:31PM

Bah! Too complicated. :-) (Note to those with a dense sense of humor: the preceding was intended in jest.)

A much easier way is to use Relakks or another PPTP/ IPSEC public VPN.

Costs money (€ 5,00 per month) but is soooo much easier to set up and offers the benefit of encrypting all of your traffic through your University bypassing any filters or firewalls which may be in place.

No affiliated, but I tested it for a month and it's schweeeeet.

Google "Relakks". I'm not going to post the URL because I don't want to be accused of spamming.

---
He who does not challenge one\\\'s elected decisions today, may find himself challenged by them tomorrow.



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: nyko on Sep 07, '06 06:23:36AM

From what I've seen Relakks won't allow you to "bypass" you work/university firewall, considering that the ports required to open the VNP are closed. It's more of an anonymizer service.



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: purrdeta on Sep 07, '06 06:07:56AM

I agree that there is VPN which is easier. However if you already have a shell account for whatever reason this hint is great. Plus I never really understood how VPN works anyway. >.>



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: bravekd on Sep 08, '06 10:30:57AM

Can't seem to type that in Terminal, after I type the first line you gave us I got:

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

Password:

And I can't type anymore in that window. Any idea? Thank you.



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: joshturse on Sep 09, '06 11:05:12PM

Oh - you can do more - the Password you are being prompted for is your account password, and it is not going to be echoed back to you (you won't see anything, but you can type). Once you have authenticated, you'll get a normal command prompt back.

Be forewarned - once you've autheticated as a superuser, you are no longer protected by the system from making changes that can seriously mess things up.



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: bravekd on Sep 19, '06 06:24:49PM

I know that this isn't the best place to be saying this, but whenever I try to download Darwinports 1.3.1 it freezes on "Running Darwinports Installer Script". It does not move any further than that. I have tried to find the solution online, or to write them but my email got sent back to me and I can't find anything for my problem. I am downloading the 10.4 version since that is what I have, but even with the 10.3 version it doesnt work. Thank you, I am fresh out of ideas.



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: sillymrman on May 31, '07 06:44:06PM

If you haven't gotten it to work yet, just be patient. The script takes a long time to process and doesn't output any feedback to tell you how far it is. Don't terminate it or anything. Rest assured it's working!

FYI DarwinPorts is now MacPortsand the version is up to 1.4.0.



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: psyxious on Sep 27, '06 03:46:57PM

OK i was able to do the Socks configuration but when i entered the SSH command it said" ssh: connect to host dorms-89-223 port 22: Connection refused"
anyways i skipped it and tried to run it. Wow starts up but it refuses to connect. What should i do? I can already connect normally but i am experiencing really high pings. The dorm has a t3 connecction and it downloads great, i just wanna play wow without high latency. Please help



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: seriouslydustin on Nov 09, '06 03:11:05PM
whoa whoa too complicated. simply do (assumes you have SSH access somewhere): ssh -2 user@localhost -D 8888 Then go into System Preferences, select Network, then pick the active network interface you're using -- double-click it. Then select "Proxies" In the left-hand side of that pref, select "SOCKS Proxy" Then input host as: 127.0.0.1 port 8888 User/Pass is not required. then hit Apply. You're done.

[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: Johooo on Nov 11, '06 02:29:47AM

is a special setup for my ssh server required?



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: argelian on Nov 13, '06 07:54:18PM
I get the following error when trying to run tsocks:
res06-aa428:~/Desktop andreasargelius$ /opt/local/bin/tsocks /Applications/World\ of\ Warcraft/World\ of\ Warcraft.app/Contents/MacOS/World\ of\ Warcraft &
[1] 3929
res06-aa428:~/Desktop andreasargelius$ dyld: could not load inserted library: /opt/local/lib/libtsocks.dylib
tsocks is installed from darwinports and libtsocks.dylib exists. Has anyone had the same problem?

[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: argelian on Nov 13, '06 08:40:14PM

By the way, I'm running an Intel Mac.



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: AdamLD on Dec 01, '06 10:38:56AM

I am also having the same problem also on an intel mac. have you found a solution?



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: am346 on Jan 22, '07 05:46:01AM
This may be an easy question for some of you to answer but i need help. I also receive the connection refused message in terminal. Am i typing in the user@host instruction incorrectly? If so how do I find out where the user and host for my mac can be found? Thanks

[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: whoopie on Apr 27, '07 08:39:43AM

When I try to connect using your SSH command, I get the following error once I have been logged in(ssh), "bind: address already in use". I know nothing is using those addresses, because both the client and server are run and owned by me. Any suggestions?



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: k0t1k968 on Apr 27, '07 05:58:27PM
Shameless self promotion ...

http://www.leapingbytes.com/wowtogo

WoW2GO allows you to play WoW over SOCKS/HTTP/SSH.

---
Andrei Tchijov
Leaping Bytes, LLC

[ Reply to This | # ]

Play World of Warcraft via SOCKS or SSH tunnel
Authored by: Robo-X on Apr 28, '07 01:53:40PM
I am sorry but you are promoting your own software. Which as it looks like is subscription based and during the beta period you can only play for 15 min at a time. Expiring date for a beta is ok but restricting the play time is stupid. How are people going to test it if you only let them test it for 15min at a time. How do we know that it even works for longer than 15min?

Then I rather install tsock and do it for free.

//Rob

[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: k0t1k968 on May 02, '07 09:39:35PM

You are absolutely right ... 15 minutes was a stupid (but very simple to implement ) restriction. Beta 2 is out with "traditional" 2 week trial license.

When wow2go will be out of beta, it will NOT be subscription base. Just one time fee will buy perpetual license.



---
Andrei Tchijov
Leaping Bytes, LLC



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: sillymrman on May 31, '07 06:41:24PM
It's not working for me. Here's what I did. Punched a whole through the local proxy server using connect.c.

The SSH command is
ssh -v -g -p443 -D 8080 -C -F ~/.ssh/configelem USER@MYHOSTIP -L 6112/*/6112 -L 3724/*/3724
I then call
tsocks ./World\ of\ Warcraft &
(from within the Application's .app folder of course.)

(By the way, DarwinPorts is now MacPorts.)

WoW starts up and seems to connect through the SSH server but gets stuck at login saying "Authenticating".

My SSH output gives me the following
debug1: Connection to port 8080 forwarding to socks port 0 requested.
debug1: channel 10: new [dynamic-tcpip]
debug1: Connection to port 8080 forwarding to socks port 0 requested.
debug1: channel 11: new [dynamic-tcpip]
debug1: Connection to port 8080 forwarding to socks port 0 requested.
debug1: channel 12: new [dynamic-tcpip]
debug1: Connection to port 8080 forwarding to socks port 0 requested.
debug1: channel 13: new [dynamic-tcpip]
debug1: channel 13: cannot handle: socks4 cn 240
debug1: channel 13: free: dynamic-tcpip, nchannels 14
debug1: Connection to port 8080 forwarding to socks port 0 requested.
debug1: channel 13: new [dynamic-tcpip]
channel 13: open failed: connect failed: Connection refused
debug1: channel 13: free: direct-tcpip: listening port 8080 for 0.0.0.0 port 3724, connect from 127.0.0.1 port 49923, nchannels 14
Any ideas?

[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: sillymrman on Jun 04, '07 07:53:36PM
Okay, I figured it out. At the bottom of the MacPorts page for tsocks, was the following message:
The tsocks.conf.sample file is in ${prefix}/etc. Rename it to tsocks.conf to use it. You should set tordns_enable to false if you're not using Tor.
I believe that that is a warning it spits out to you upon install now. So, after you install tsocks your tsocks.conf file should look like the following:
server = 127.0.0.1
server_type = 5
server_port = 1080
tordns_enable = false
We're connecting through SSH, not a Tor network so we don't want to do DNS resolution through Tor.

You will also note that I changed server_type to 5. OpenSSH can handle both versions of SOCKS and we might as well use the more recent one. This is not a necessary change.

Further, there is no need to use the -L flag. We are using SOCKS which will handle everything for us. I can connect fine using the following:
ssh -D 1080 USER@HOST
Other useful SSH flags to consider:
  • -v, -vv, or -vvv - There are three levels of debugging available to SSH. -v has the least amount of debugging output, -vvv outputs a ton.
  • -C - This enables compression across the SSH Tunnel. Data from my home server to my client machine is compressed, reducing the amount of information sent over the internet. More information, less size. This uses CPU cycles, though, and may increase your latency.
  • -fN - This will set up the SSH tunnel such that you do not get to execute remote commands (terminal acccess to the server computer) and will put the SSH process into the background. Use this if you want to set up the tunnel and just leave it.
Anyone behind an HTTP/SOCKS proxy should look into using connect.c with SSH to burrow through the proxy. Good stuff!

[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: Xaander on Oct 02, '07 03:00:02PM

It spits out loads and loads of error messages about changing an environment variable, opens WoW, then explodes in entirety.



[ Reply to This | # ]
Play World of Warcraft via SOCKS or SSH tunnel
Authored by: Quentman on Jan 24, '08 03:53:18PM

After researching for 3-4 hours I finally found a simple way to get World of Warcraft running on my Mac OS X (Leopard) at my University which has really tight port restrictions. Read the info below and follow the steps. Have fun!

1) Get yourself your-freedom.net account

Go to your-freedom.net and create yourself an account ( Click on "First visit? Click here to register" under login ).

NOTE It looks like registration process does not work properly with Safari. I recommend you to use Firefox instead.

2) Wait for confirmation e-mail to arrive

Your account will become fully activated only after you have received activation e-mail from your-freedom.net and complete activation process according to instructions in that e-mail.

NOTE This step is not quite Safari friendly either. When you click on first link in the e-mail (assuming Safari is your default browser) it will open page in Safari and may complain that something is not right (it did it to me), but actually it will complete registration and you end-up been "logged in".

3) Download and Install Mac OS X client

Go to Downloads section of web site and download client for Mac OS X. Once it downloaded mount the DMG and move client into your /Applications folder. When your run the client for first time, you will be presented with short setup wizard. Just pick all default answers and you should be fine (if you want to read documentation, you can look into user guide. it is for Windows, but it looks like process is very similar ).

4) Start your-freedom connection

Push the button ("Start Connection" on "Status" tab).

5) Configure WoW2GO

Once you have your-freedom connection started, you will have SOCKS proxy running on your local host. So configure WoW2GO to use SOCKS with "Host:" set to localhost (literally, enter 'localhost' as a host name. see wikipedia for more information about 'localhost').

NOTE you do not have to enter your-freedom user name/password into WoW2GO!!

6) Start WoW2GO

Push "Start" or "Play" button on WoW2GO as you normally do! Enjoy!



[ Reply to This | # ]