I want to play a game which is hosted on port 25565 (minecraft!), but my university firewall does not allow this port.

I have a dedicated server running linux not too far from uni, so I think there's a way to tunnel through it (but I've never done this before and have no knowledge/experience of tunnelling)

It would probably be slow, but it's better than not being able to play at all. Is it possible to do using only SSH, or do I need other client/server software? My server has OpenSSH installed. Also, the computer I'm using to play the game is running Ubuntu.

I've tried searching but there seem to be so many different solutions to different types of problem =/

link|improve this question

feedback

3 Answers

up vote 0 down vote accepted

The simplest way is to use putty (Client Side APP). You should not need anything on the remote side except firewall rules to allow out going connections

Setup:

  1. Within putty setup a new connection to your unix box.(Add the host details etc , don't connect yet)
  2. Once that is all setup go to Connection -> SSH -> Tunnels in the putty tree view.
  3. Next enter 25565 into the source port and leave the destination blank.
  4. Finally select dynamic on the first combo box.
  5. Make sure you save everything then finally click the open button

This will create a tunnel on port 25565 locally to any destination on the remote site. This also assumes that you can tunnel a minecraft connection (you might need to set your IE settings to use the the SSH tunnel as well since games sometimes use this if they cant get a connection)

If you cant tunnel minecraft by default use a app like proxy cap to force all out going connections through the tunnel.

link|improve this answer
2  
Minecraft doesn't let me choose a proxy, it just connects directly. I found out how to set up a proxy and set it to apply systemwide and it works for firefox etc, but minecraft just ignores it. Do you mean Internet Explorer by IE? If so, I'm on linux :) – Matt Jan 11 '11 at 12:31
Sorry I assumed that you were using windows , But linux has the same option (well at least ubuntu does). If you go to System -> Preferences -> Network Proxy , you should be able to route all or most of the traffic through the proxy. On linux you can also use proxytunnel to tunnel through http proxies (if thats what you have available) – RC1140 Jan 11 '11 at 12:40
What about on a mac? – Foxtrot Mar 19 at 17:11
1  
@Foxtrot You can do the exact same thing on the mac , instead of using putty , use the Terminal application and the following command ssh <username>@<servername> -D 25565 , once that is connected you can change you system proxy by going to <Apple Icon> -> Preferences -> Network and then click on advanced for you current active network connection. Finally click proxies and enter the details into the Socks Proxy option and make sure its ticked – RC1140 Mar 26 at 7:10
feedback

Try http-tunnel. Just go to Settings>Add Ports/Applications and enter the server IP and application port (usually 25565) then press ok and try running minecraft.

link|improve this answer
feedback

You can change the port Minecraft runs on, so just set it to 22 (because they haven't blocked SSH) then you'll be able to play by specifying the port on each client.

link|improve this answer
Not possible if I don't run the server. In the end I asked the host to add a port map on his server from 1863 (MSN, unblocked) to 25565. – Matt Mar 19 at 7:49
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.