08-23-2008, 09:30 AM | #1 |
Pledge
Join Date: Aug 2008
Posts: 5
|
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. |
08-24-2008, 03:24 PM | #2 |
Banned
Join Date: Apr 2007
Posts: 309
|
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. |
08-25-2008, 09:38 AM | #3 |
Apprentice
Join Date: Jan 2008
Location: ~/gam/regnum
Posts: 88
|
On linux, start like this:
cd regnumfolder http_proxy="" ./rolauncher
__________________
Proud to be a goat! / Orgulloso de ser una cabra!
|
08-26-2008, 09:43 PM | #4 |
Pledge
Join Date: Aug 2008
Posts: 5
|
Wouhou,
I'll test it tomorrow, and if it works, well, you'll be my hero !
|
08-27-2008, 10:31 AM | #5 |
Pledge
Join Date: Aug 2008
Posts: 5
|
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... |
08-27-2008, 10:36 AM | #6 |
Apprentice
Join Date: Jan 2008
Location: ~/gam/regnum
Posts: 88
|
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!
|
08-27-2008, 11:10 AM | #7 |
Count
Join Date: Aug 2007
Posts: 1,565
|
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 |
08-27-2008, 01:15 PM | #8 |
Pledge
Join Date: Aug 2008
Posts: 5
|
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 ? |
08-27-2008, 07:36 PM | #9 | |
Banned
Join Date: Apr 2007
Posts: 309
|
Quote:
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. |
|
08-28-2008, 09:37 AM | #10 |
Pledge
Join Date: Aug 2008
Posts: 5
|
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 |
|
|