View Full Version : Help, I'm behind a proxy!
tynaud
08-23-2008, 09:30 AM
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. :crying1:
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.
Rockwolf_
08-25-2008, 09:38 AM
On linux, start like this:
cd regnumfolder
http_proxy="" ./rolauncher
tynaud
08-26-2008, 09:43 PM
I'll test it tomorrow, and if it works, well, you'll be my hero ! :)
tynaud
08-27-2008, 10:31 AM
:crying1:
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...
Rockwolf_
08-27-2008, 10:36 AM
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 ^^
elendriel
08-27-2008, 11:10 AM
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
tynaud
08-27-2008, 01:15 PM
Yes, thanks, it seems that my spanish is not so far... Well, for one computer it's ok I think, so for me, good :naughty: ... 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 ? :wub2:
By the way, can't devs build a patch for proxy support ? :wub2:
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.
tynaud
08-28-2008, 09:37 AM
:clapping5365:
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 :naughty:
ArcticWolf
08-28-2008, 07:46 PM
Yes, thanks, it seems that my spanish is not so far... Well, for one computer it's ok I think, so for me, good :naughty: ... 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 ? :wub2:
I'll translate the guide, someday. I'm busy as hell this week :P
I see you're running linux, so try with OpenVPN. I haven't tested it yet, but it should work just as the tsocks+ssh tunnel.
arven
09-25-2008, 09:48 AM
is to authorize direct connection in proxy configuration to the server of regnum (ip exception in config of shorewall). It worked fine one month, but today I was unable to enter the game. It would be fine if regnum staff indicate the ip to authorize, so that I would not have to sniff traffic to know where it tries to connect... Cause I think it has changed recently... well not sure, need to do some tests...
ArcticWolf
09-25-2008, 11:26 AM
is to authorize direct connection in proxy configuration to the server of regnum (ip exception in config of shorewall). It worked fine one month, but today I was unable to enter the game. It would be fine if regnum staff indicate the ip to authorize, so that I would not have to sniff traffic to know where it tries to connect... Cause I think it has changed recently... well not sure, need to do some tests...
I think this is the server:
212.214.41.165You can always take a look at the game.cfg to be sure :)
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.