Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 08-23-2008, 09:30 AM   #1
tynaud
Pledge
 
Join Date: Aug 2008
Posts: 5
tynaud is on a distinguished road
Default Help, I'm behind a proxy!

Hi all.

Well, I'm trying to install ROL on 10 computers which are behind a proxy... These computers are set with dual boot (XP / Ubuntu) and on both systems, at launch, I got "loading" indefinitely. I think the problem is the proxy because the ports are opened...

So how to configure ROL to set the proxy name ?

Thanks for your help.
tynaud no ha iniciado sesión   Reply With Quote
Old 08-24-2008, 03:24 PM   #2
tak
Banned
 
Join Date: Apr 2007
Posts: 309
tak is on a distinguished road
Default

Regnum doesn't have proxy support, if really all traffic has to pass the proxy you will need to get your network administrator to open up a direct access to the net for you.

Usually proxies only support certain ports, while other traffic is passed unhindered. Are you sure the problem is the proxy and not some restrictive firewall settings?

Either way, contact your local guru.
tak no ha iniciado sesión   Reply With Quote
Old 08-25-2008, 09:38 AM   #3
Rockwolf_
Apprentice
 
Rockwolf_'s Avatar
 
Join Date: Jan 2008
Location: ~/gam/regnum
Posts: 88
Rockwolf_ is on a distinguished road
Default

On linux, start like this:

cd regnumfolder
http_proxy="" ./rolauncher
__________________
Proud to be a goat! / Orgulloso de ser una cabra!
Rockwolf_ no ha iniciado sesión   Reply With Quote
Old 08-26-2008, 09:43 PM   #4
tynaud
Pledge
 
Join Date: Aug 2008
Posts: 5
tynaud is on a distinguished road
Default Wouhou,

I'll test it tomorrow, and if it works, well, you'll be my hero !
tynaud no ha iniciado sesión   Reply With Quote
Old 08-27-2008, 10:31 AM   #5
tynaud
Pledge
 
Join Date: Aug 2008
Posts: 5
tynaud is on a distinguished road
Default



It doesn't work...
Well, http and ftp have to pass through the proxy... myproxy:8080
Ubuntu is configured with these variables in /etc/environment :

http_proxy=http://myproxy:8080/
ftp_proxy=http://myproxy:8080/

In firestarter (gui for iptable) i've allowed incoming traffic for
9660
48000
48001
47300
80

On the server, my local guru as allowed incoming traffic for
9660 udp
48000 tcp
48001 tcp
47300 tcp

So... I tried to launch with
http_proxy="" ./rolauncher
and I get an error message (Trying to solve a NULL hostname: giving up)

But before I tried with
http_proxy=http://myproxy:8080/ ./rolauncher
and always blocked on loading (normal, that's the same comportment as by default I guess...)

I've apt-get proxychains and tsocks, but i don't know how to configure them... Try some things but it didn't work...


EDIT : In fact, tsocks "can" in theory proxify any apps...
tynaud no ha iniciado sesión   Reply With Quote
Old 08-27-2008, 10:36 AM   #6
Rockwolf_
Apprentice
 
Rockwolf_'s Avatar
 
Join Date: Jan 2008
Location: ~/gam/regnum
Posts: 88
Rockwolf_ is on a distinguished road
Default

Using http_proxy="" works for me, although I also receive messages about a null hostname.

Just press "OK" when you see the messages and start the game anyway, does this work?

I am behind 2 firewalls, 1 in my router and 1 on my computer and I also have a global proxy set up on port 8080, so I am convinced that this problem can be solved ^^
__________________
Proud to be a goat! / Orgulloso de ser una cabra!
Rockwolf_ no ha iniciado sesión   Reply With Quote
Old 08-27-2008, 11:10 AM   #7
elendriel
Count
 
elendriel's Avatar
 
Join Date: Aug 2007
Posts: 1,565
elendriel is on a distinguished road
Default

Xephandor writed a way to tunneling with ssh, but it is needed to use two computers, one that should be out of the firewall/proxy and other inside the proxy.

Also it is in spanish, maybe he could help

http://regnumonline.com.ar/forum/showthread.php?t=29241
__________________
エレンドリエルウィルンニエドSuicida Foro Horda 死神 e Ignis
神風な死女神
  乱麻  壊滅  勇気   恐怖    不羈
elendriel no ha iniciado sesión   Reply With Quote
Old 08-27-2008, 01:15 PM   #8
tynaud
Pledge
 
Join Date: Aug 2008
Posts: 5
tynaud is on a distinguished road
Talking

Yes, thanks, it seems that my spanish is not so far... Well, for one computer it's ok I think, so for me, good ... The matter is that I need to let my computer on at home (but well, can be interesting for other things) and, this is the most important, I wish to make the install of regnum on the 10 computers we have behind the proxy for our customers (it's a cyber-centre)... So this solution is not acceptable...
MMMmmmhhh... I will see with the admin how to do this... ROL is a good way to make people discovering gnu/linux...

By the way, can't devs build a patch for proxy support ?
tynaud no ha iniciado sesión   Reply With Quote
Old 08-27-2008, 07:36 PM   #9
tak
Banned
 
Join Date: Apr 2007
Posts: 309
tak is on a distinguished road
Default

Quote:
Originally Posted by tynaud
By the way, can't devs build a patch for proxy support ?
Proxying this game would be pretty useless, you do not need to hold information cached somewhere and another layer would only add lag due to the time needed to handle the information.

I read that you allow _incoming_ traffic to most ports, you would need to allow outgoing traffic instead.

I am not completely sure if the ports listed are all that you need, i dimly remember some 27000 port needing to be accessed. There is a list in the forums somewhere however.

My advice would be to first allow all traffic to and from a machine to make sure whether the problem is the proxy or the firewall.

If it is the firewall sniff the traffic and adjust your rules accordingly, for the proxy part i still don't see a good solution.

Best of luck.
tak no ha iniciado sesión   Reply With Quote
Old 08-28-2008, 09:37 AM   #10
tynaud
Pledge
 
Join Date: Aug 2008
Posts: 5
tynaud is on a distinguished road
Default And



it works !

Some explanations : Cause we are a public numeric space, we need to conserve one year the log of our users (it's the law in my country). We use a proxy, (squid) to generate these logs and to filter internet access (to blacklist website of the form XXXchild.com for example). Each user has an account, and if we are purchased by justice we can give the name of the user who is responsible...

Well, for the settings, we made some tests, and it appears that the webbrowser part of rolauncher can't pass the proxy. So we allowed bypassing for http and ftp, and it works. But they were problems downloading resources (due to the fact that the http and ftp proxy parameters are declared in all the environment), so using the command of Rockwolf solved this...
The problem was the proxy, cause traffic was already allowed on the exotic ports listed in one of my previous ports.

And now I'm blocking the configuration of these parameters on the computers by group policy, so that our users will not have possibility to bypass the proxy with firefox & co by modifying the configuration of the connexion...

Easier to do on linux than on Winxp...


Thanks for your help, and see u in the game
tynaud no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:34 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved