Proxy support / Profile-server config-option

Everything about ToME 4.x.x. No spoilers, please

Moderator: Moderator

Post Reply
Message
Author
Napkin
Wayist
Posts: 21
Joined: Mon May 14, 2007 4:09 pm
Contact:

Proxy support / Profile-server config-option

#1 Post 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!

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Proxy support / Profile-server config-option

#2 Post 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
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Napkin
Wayist
Posts: 21
Joined: Mon May 14, 2007 4:09 pm
Contact:

Re: Proxy support / Profile-server config-option

#3 Post 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!

Canderel
Sher'Tul
Posts: 1252
Joined: Mon Nov 24, 2003 2:31 pm
Location: South Africa

Re: Proxy support / Profile-server config-option

#4 Post 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).

Napkin
Wayist
Posts: 21
Joined: Mon May 14, 2007 4:09 pm
Contact:

Re: Proxy support / Profile-server config-option

#5 Post 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!

Gottschkopf
Wayist
Posts: 22
Joined: Fri Mar 18, 2016 7:54 am

Re: Proxy support / Profile-server config-option

#6 Post 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"

Post Reply