Computing.Net > Forums > Linux > Starcraft Battle.net + ROUTER??

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Starcraft Battle.net + ROUTER??

Reply to Message Icon

Name: Alexander Rogg
Date: December 26, 2001 at 18:16:59 Pacific
Comment:

We got starcraft broodwar working behind
a router at home with our ADSL
connection. we have 2 computers
connected to the router (a HUB switch
connects the 2 computers, the ADSL
modem and the router). port fowarding of
TCP and UDP port 6112 (required by
starcraft) is activated. the router runs
under suse linux 7.0 with 2.2.16 kernel.
the problem is, when i play on battle.net
and join a game from one of the 2
computers (of course the computer to
which the port is forwarded), there is
always a lag, in the chatroom and during
game-play. if i create the game, no
lagging occures whatsoever.
without the router, this problem does not
occur, everything is at normal.

how can i fix the problem? and why does
it occur? other internet activities
(browsing, unreal tournament, quake 3,
icq, etc.) function perfectly with and
without router.

thank you very much and a happy new
year to all of you!
alexander rogg
no keys
port forwarding was activated like this:

ipmasqadm portfw -a -P tcp -L [external
(internet) IP address of router] 6112 -R
[internal IP address of
starcraft-playing-computer] 6112

AND (for UDP packets)

ipmasqadm portfw -a -P udp -L [external
(internet) IP address of router] 6112 -R
[internal IP address of
starcraft-playing-computer] 6112



Sponsored Link
Ads by Google

Response Number 1
Name: bitwizard
Date: February 7, 2002 at 19:19:52 Pacific
Reply:

Subject: How to get Starcraft BattleNet to work through a Firewall / Proxy

I started looking aroung on the internet a month ago for
answers on how to get Starcraft to work on Battle Net
through a Firewall or Proxy. The message displayed by
Starcraft is something like "Either your Internet Connection
is very poor, or is not processing UDP packets through port
6112." Well, opening 6112 didn't help, and opening 6112-6119
didn't help, and opening port 4000 didn't help. Blizzard's
web site says in no uncertain terms - Don't call us about firewall
problems. So I traced the UDP packets that were being blocked by
the firewall and came up with 3 port ranges that were not documented
by Blizzard. UDP Port 1716 came up regularly, as did port 32798. Then
a range of ports around 61540 and another group in the 64090 (and up) range
appeared.

I can tell you that this works, but it is overkill. I did not
have the patience to eliminate every port in order to tighten security.
And I have no idea if any of these ports comprise a security risk.

Open port TCP 4000 for input and output.
Open port UDP 4000 for input and output.
Open ports TCP 6111 through 6119 for input and output.
Open ports UDP 6111 through 6119 for input and output.
Open ports UDP 1700-1800 for input and output.
Open ports UDP 32000-33000 for input and output.
Open ports UDP 61000-65000 for input and output.

If you are running an ipchains linux firewall, here's
a chunk of code that may be helpful in your firewall
script.

#---- Enable Starcraft

ANYWHERE = "any/0"

# TCP / UDP Port 4000
ipchains -A input -i $EXTERNAL_INTERFACE -p tcp -s $ANYWHERE -d $ANYWHERE 4000 -j ACCEPT
ipchains -A output -i $EXTERNAL_INTERFACE -p tcp -s $ANYWHERE 4000 -d $ANYWHERE -j ACCEPT
ipchains -A input -i $EXTERNAL_INTERFACE -p udp -s $ANYWHERE -d $ANYWHERE 4000 -j ACCEPT
ipchains -A output -i $EXTERNAL_INTERFACE -p udp -s $ANYWHERE 4000 -d $ANYWHERE -j ACCEPT


# TCP / UDP Ports 6111-6119
ipchains -A input -i $EXTERNAL_INTERFACE -p tcp -s $ANYWHERE -d $ANYWHERE 6111:6119 -j ACCEPT
ipchains -A output -i $EXTERNAL_INTERFACE -p tcp -s $ANYWHERE 6111:6119 -d $ANYWHERE -j ACCEPT
ipchains -A input -i $EXTERNAL_INTERFACE -p udp -s $ANYWHERE -d $ANYWHERE 6111:6119 -j ACCEPT
ipchains -A output -i $EXTERNAL_INTERFACE -p udp -s $ANYWHERE 6111:6119 -d $ANYWHERE -j ACCEPT

# UDP Input Ports 1700-1800, 32000-33000, 61000-65000
ipchains -A input -i $EXTERNAL_INTERFACE -p udp -s $ANYWHERE -d $ANYWHERE 1700:1800 -j ACCEPT
ipchains -A output -i $EXTERNAL_INTERFACE -p udp -s $ANYWHERE 1700:1800 -d $ANYWHERE -j ACCEPT
ipchains -A input -i $EXTERNAL_INTERFACE -p udp -s $ANYWHERE -d $ANYWHERE 32000:33000 -j ACCEPT
ipchains -A output -i $EXTERNAL_INTERFACE -p udp -s $ANYWHERE 32000:33000 -d $ANYWHERE -j ACCEPT
ipchains -A input -i $EXTERNAL_INTERFACE -p udp -s $ANYWHERE -d $ANYWHERE 61000:65000 -j ACCEPT
ipchains -A output -i $EXTERNAL_INTERFACE -p udp -s $ANYWHERE 61000:65000 -d $ANYWHERE -j ACCEPT

#---- End Enable Starcraft


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Starcraft Battle.net + ROUTER??

VLAN in linux www.computing.net/answers/linux/vlan-in-linux/20100.html

Linux Router www.computing.net/answers/linux/linux-router/24687.html

Linux as router www.computing.net/answers/linux/linux-as-router/19709.html