Page 1 of 1

Proxy support / Profile-server config-option

Posted: Thu Jun 30, 2011 5:58 pm
by Napkin
Hi there,

I recently started playing ToME and I can feel the attraction growing ;-)

Fortunately, there is only little to do at work at the moment. Unfortunately, Internet there is accessible only via a http proxy (with CONNECT support to numerous ports).

Seems like ToME doesn't support contacting the profile server through a proxy yet, does it?

I could, however, tunnel the appropriate port via ssh to my localhost, but I didn't find the profile server's ip/hostname anywhere mentioned in the config or lua files. Server ip/hostname is not a compile-time option, is it? Could I maybe specify it via a configuration option?

Unfortunately, I'm not root at my work desktop, so I cannot bend DNS of te4.org to point to localhost.

Has anyone got a better idea?

(Not sure this is the right forum/sub-forum to post this - please move my post if it's wrong here.)

Thanks!

Re: Proxy support / Profile-server config-option

Posted: Thu Jun 30, 2011 6:00 pm
by darkgod
Yeah it is hardcoded I'm afraid, but it's in a lua file you can edit and it wont invalidate your game version:
It's in game/profile-thread/Client.lua

Re: Proxy support / Profile-server config-option

Posted: Thu Jun 30, 2011 6:04 pm
by Napkin
Ahhh, awesome!

Dooh, blind me! And here I was being sure I grepped the whole code for "te4.org" :oops:

Thank you very much!

Re: Proxy support / Profile-server config-option

Posted: Thu Jun 30, 2011 6:54 pm
by Canderel
If you succeed please post the method, as I'm in the same boat (except I have a ton of work at the moment but downtime coming up).

Re: Proxy support / Profile-server config-option

Posted: Sun Jul 03, 2011 12:53 am
by Napkin
Just for the record:

Me and Canderel both got it working by using ssh/putty through our company proxies, tunneling te4.org's ports 2257 and 2258 to our desktop and adjusting Client.lua to connect to localhost.

Some proxies do not allow CONNECT to port 22 (default ssh) - in that case make your sshd listen on 443 ;-)

Cheers!

Re: Proxy support / Profile-server config-option

Posted: Mon Mar 21, 2016 8:00 am
by Gottschkopf
I'm not entirely familiar with this kind of stuff. What line exactly do I have to change? And how do I setup putty? It's giving me "Proxy error: 503 Service unavailable"