Can I even do this with SSH? Tunnel out from behind FW

Discussion in 'DD-WRT Firmware' started by error66, Jan 28, 2006.

  1. error66

    error66 Network Guru Member

    Trying to play World of Warcraft from behind a firewall where only ports 21, 80 and 443 get me out. I have SSH enabled on port 21 and functional on my WRT54G v1.0. I can successfully log on via SSH from behind the firewall. I'm a complete noob with SSH so bear with me please.

    The game does the following:

    Query DNS for ""
    Query returns: - .116
    localhost:2030 connects to
    localhost:2031 connects to
    *a list of game servers is retrieved from and the game then connects to the appropriate IP (not a DNS name) of the server that was chosen in-game ( in this case)
    localhost:2031 connects to

    I used Putty to connect to the SSH server on my router. I configured a tunnel using the "local" radio button, with local port 3724. For the Destination I used, put an entry in the HOSTS file to spoof the game into connecting to when resolving "" and I was able to get logged in to the game and get the list of servers. But when it tries to connect to the game server, it of course does not use the tunnel and subsequently fails. If I add a second entry to the tunnel for local port 3724 and Destination then I cannot even log into the game anymore, understandably so.

    I don't think I've quite got the grasp of how to make SSH work, thus the spoofing with the HOSTS file. The problem it appears that I'm running into is that the logon server and game server are two different IP addresses that both use the same destination port. Neither addresses nor the port is configurable. Someone care to either steer me in the right direction or say that there is no way to make it work?
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice