Tunneling port
Tunneling port
Hello,
I'd like to ask if I can play somehow ManaWorld if the proxy server I use to access internet blocks port 6901.
This port is closed. I heard about some tunneling tricks. Is that possible?
I use ubuntu 11.
Thx in advance.
I'd like to ask if I can play somehow ManaWorld if the proxy server I use to access internet blocks port 6901.
This port is closed. I heard about some tunneling tricks. Is that possible?
I use ubuntu 11.
Thx in advance.
Re: Tunneling port
It's possible, but probably with complications and risk.
You would need to use another computer (think of it as a reflector or another proxy server) to let you ultimately connect to TCP port 6901 on the game server.
There are three problems with this.
First, you must find such a server that would let you connect e.g. on port 443 and then be redirected to TMW 6901. You might be able to run such a thing from your home if you understand how to set up an Internet server there (and the implications of running such a server.)
Second, the offending proxy server might not merely block ports, but it might also inspect traffic to detect attempts to bypass it. For example, it might see that the TMW game traffic doesn't look like HTTP and block it.
Third, many proxy servers are merely the software manifestation of a contract. For example, your employer might prohibit "non-work-related Internet use" and use the proxy server to patrol that policy. Bypassing the proxy might lead to disciplinary action.
You would need to use another computer (think of it as a reflector or another proxy server) to let you ultimately connect to TCP port 6901 on the game server.
There are three problems with this.
First, you must find such a server that would let you connect e.g. on port 443 and then be redirected to TMW 6901. You might be able to run such a thing from your home if you understand how to set up an Internet server there (and the implications of running such a server.)
Second, the offending proxy server might not merely block ports, but it might also inspect traffic to detect attempts to bypass it. For example, it might see that the TMW game traffic doesn't look like HTTP and block it.
Third, many proxy servers are merely the software manifestation of a contract. For example, your employer might prohibit "non-work-related Internet use" and use the proxy server to patrol that policy. Bypassing the proxy might lead to disciplinary action.
You earn respect by how you live, not by what you demand.
-unknown
-unknown
Re: Tunneling port
Thx, I've managed to do what you say.
I tunelled my 6901 port to official server throught my friends SSH.
In the game I connect to localhost:6901, I login sucsesfuly BUT!!! when updating news.txt it says empty reply from server (((
I tunelled my 6901 port to official server throught my friends SSH.
In the game I connect to localhost:6901, I login sucsesfuly BUT!!! when updating news.txt it says empty reply from server (((
Re: Tunneling port
Excellent!serfess wrote:Thx, I've managed to do what you say.
I tunelled my 6901 port to official server throught my friends SSH.
This is great. It means you're on the right track.In the game I connect to localhost:6901, I login sucsesfuly BUT!!! when updating news.txt it says empty reply from server
You need to also tunnel ports 5122 and 6122 to connect to the map server and character server components.
news.txt is fetched from a web site, in this case http://updates.themanaworld.org/news.txt. It's not essential to play the game, but you can solve that problem too by tunnelling updates.themanaworld.org:80 through that SSH connection as well.
Note that you might need to modify your hosts file so that connections to "server.themanaworld.org" actually go to 127.0.0.1.
Nice work. Enjoy the game!
You earn respect by how you live, not by what you demand.
-unknown
-unknown
Re: Tunneling port
Hmmm... when I press Play - I recieve "ItemDB: error while loading items.xml!"
By the way I am on windows now )))
After update this error doesn't appear.
By the way I am on windows now )))
After update this error doesn't appear.
Last edited by serfess on 10 Apr 2012, 10:47, edited 1 time in total.
Re: Tunneling port
Oh... updating is finally works ))) I'll wait till it is done!
Re: Tunneling port
So now I'm tunelling ports:
6901 - server.themanaworld.org:6901
6122 - server.themanaworld.org:6122
5122 - server.themanaworld.org:5122
80 - updates.themanaworld.org:80
my hosts has:
127.0.0.1 server.themanaworld.org
127.0.0.1 updates.themanaworld.org
And it says Couldn't connect to remote host - when I try to get my characters.
6901 - server.themanaworld.org:6901
6122 - server.themanaworld.org:6122
5122 - server.themanaworld.org:5122
80 - updates.themanaworld.org:80
my hosts has:
127.0.0.1 server.themanaworld.org
127.0.0.1 updates.themanaworld.org
And it says Couldn't connect to remote host - when I try to get my characters.
Re: Tunneling port
Any ideas?(
Re: Tunneling port
Ah, my mistake. It appears the game server instructs the client to connect to 81.161.192.4 (real IP address, not hostname) port 6122 for characters.serfess wrote:So now I'm tunelling ports:
my hosts has:
127.0.0.1 server.themanaworld.org
127.0.0.1 updates.themanaworld.org
And it says Couldn't connect to remote host - when I try to get my characters.
That's why the hosts file isn't working.
Well, you could assign 81.161.192.4 as an IP address on the loopback interface lo0. That seems like a dreadful hack, but I can't think of a reason why it wouldn't work. In any case, you can't connect to that host directly anyway, so it's not like it would break anything.
I think you'd need to adjust how you're forwarding the ports to account for the new IP address. My brain's not working so well at this hour, sorry.
Just a thought: you could see what the game looks like by connecting to the testing server. That uses all hostnames, so no routing hack is required. It has the game content, though not the amazing people who play on the real server.
More info is at http://wiki.themanaworld.org/index.php/Testing_Server
You earn respect by how you live, not by what you demand.
-unknown
-unknown
Re: Tunneling port
Even if you use the hostname in the config file, it gets resolved to an IP before being sent to the client.Frost wrote:Just a thought: you could see what the game looks like by connecting to the testing server.
Former programmer for the TMWA server.