• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:31
CEST 18:31
KST 01:31
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12TL.net Map Contest #22 - Voting & Ladder Map Selection7Code S Season 2 (2026) - RO8 Preview5[ASL21] Finals Preview: Two Legacies21
Community News
Douyu Cup 2026: $20,000 Legends Event (June 26-28)9[BSL22] Non-Korean Championship from 13 to 28 June4Weekly Cups (May 25-31): Clem doubles, 2v2 circuit heads toward finale0StarCraft II 5.0.16 PTR Patch Notes may 26th156Weekly Cups (May 18-24): MaxPax wins doubles0
StarCraft 2
General
TL Poll: How do you feel about the 5.0.16 PTR balance changes? RSL: S6 Finals played at BlizzCon 2026 Team Liquid Map Contest #22: Results and Winners High level ptr replays? where can I find them? StarCraft II 5.0.16 PTR Patch Notes may 26th
Tourneys
Douyu Cup 2026: $20,000 Legends Event (June 26-28) Maestros of The Game 2 announcement and schedule ! Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) GSL Code S Season 2 (2026)
Strategy
[G] Having the right mentality to improve
Custom Maps
[D]RTS in all its shapes and glory <3
External Content
Mutation # 530 One For All The PondCast: SC2 News & Results Mutation # 529 Opportunities Unleashed Mutation # 528 Infection Detected
Brood War
General
Where is EffOrt? BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion vespene.gg — BW replays in browser Quality of life changes in BW that you will like ?
Tourneys
[Megathread] Daily Proleagues [ASL21] Grand Finals [BSL22] Grand Finals - Sunday 21:00 CEST Escore Tournament StarCraft Season 2
Strategy
Creating a full chart of Zerg builds Relatively freeroll strategies Why doesn't anyone use restoration? Any training maps people recommend?
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread PC Games Sales Thread ZeroSpace Megathread
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
Vanilla Mini Mafia
Community
General
US Politics Mega-thread UK Politics Mega-thread Trading/Investing Thread Russo-Ukrainian War Thread Canadian Politics Mega-thread
Fan Clubs
The HerO Fan Club! The herO Fan Club!
Media & Entertainment
Movie Discussion! [Req][Books] Good Fantasy/SciFi books [TV/BOOK] *SPOILERS* Game of Thrones Discussion [Manga] One Piece
Sports
TeamLiquid Health and Fitness Initiative For 2023 2024 - 2026 Football Thread Formula 1 Discussion Cricket [SPORT] NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Facing Challenges in Mobile App Development
TL Community
Cara Refund Tiket Agoda The Automated Ban List
Blogs
Does Workplace Frustration D…
TrAiDoS
An Exploration of th…
waywardstrategy
I'm an arrogant trash talke…
FlaShFTW
Gauntlet SC2: A Retrospectiv…
Ctone23
Why RTS gamers make better f…
gosubay
Customize Sidebar...

Website Feedback

Closed Threads



Active: 8393 users

How-to instructions: 2 comps on bnet w/o lag!

Forum Index > BW General
Post a Reply
Normal
glaex
Profile Joined July 2005
United States304 Posts
Last Edited: 2007-06-20 17:02:24
June 09 2007 14:15 GMT
#1
OK since people are still having trouble I went and took screenshots to make it as retardedly simple as possible. I'm not going to go into the actual flashing process beyond providing the excellent link I used when I did it. Really there would be no point... it's different for some routers and there's a ton of step by step guides out there already if you just use google.

I started playing bw again after all the sc2 news, but once again ran in to the dreaded lag with multiple comps on lan in bnet issue. I had previously gotten this to work, but only with a d-link router that got fried years ago. These days I use one of the many routers that can be flashed with 3rd party firmware, in this case dd-wrt v23 SP2. The SP2 part is apparently important as older versions don't have that command box.
http://www.dd-wrt.com/wiki/index.php/Supported_Devices

Here's what you do:

Find the right firmware for your device and follow the installation guide to install it. For my router, I actually had to flash the firmware twice, here's the installation guide I used:
http://www.dd-wrt.com/wiki/index.php/WRT54G_v4_Installation_Tutorial

After you have the firmware installed
1. Login to your router and go to Administration ---> Commands
[image loading]


2. Paste the script below into a text document with word wrap off so that it becomes 4 lines:

iptables -t nat -I PREROUTING -p udp -d 70.100.200.24 --dport 63002 -j DNAT --to-destination 192.168.1.2:6112
iptables -t nat -I POSTROUTING -p udp -s 192.168.1.2 --sport 6112 -j SNAT --to-source 70.100.200.24:63002
iptables -t nat -I PREROUTING -p udp -d 70.100.200.24 --dport 63003 -j DNAT --to-destination 192.168.1.3:6112
iptables -t nat -I POSTROUTING -p udp -s 192.168.1.3 --sport 6112 -j SNAT --to-source 70.100.200.24:63003
[image loading]


3. Replace 70.100.200.24 with your public WAN ip address. This is the ip address displayed on the top of the router webpage.
[image loading]

4. Replace 192.168.1.2 with the private LAN ip address of computer 1
5. Replace 192.168.1.3 with the private LAN ip address of computer 2
you can find the private ip address of your computer by going to start>run>cmd and typing ipconfig
[image loading]


6. cut-paste the script from the text document into the commands field in Administration ---> Commands
[image loading]


7. Press Save Firewall and that's it. No messing around in regedit required. No need to forward ports either. In fact make sure you don't forward port 6112, 63003, or 63002. That could actually make it not work.

It should look like this after your done
[image loading]


Credit goes to John Paul in Austin Texas http://www.funofmath.com/weblog/2007/04/starcraft-and-nat.html
god im such a cheap whore
Superiorwolf
Profile Blog Joined March 2007
United States5509 Posts
June 09 2007 23:13 GMT
#2
Thanks! Just wondering, can this be applied to other games as well, like CounterStrike?
Check out my stream at www.teamliquid.net/forum/viewmessage.php?topic_id=315053 and follow me on Twitter @EGSuppy! :)
glaex
Profile Joined July 2005
United States304 Posts
June 10 2007 03:20 GMT
#3
Well, sure. Basically the first line just makes it so when that any computer with that ip tries to send out data on port 6112 (the starcraft port), data is sent out on 6302 instead. The second line makes it so that all data comming in on port 6302 gets sent to that computer as if its comming from port 6112. the 3rd and 4rth line do the same thing for the 2nd computer. This allows you to have as many computers as you want all seeming to communicate on the same port. As far as if it would benifit other games it all depends on if you're having the same port routing issue, but at the very least you would need to change 6112 to whatever port that game uses.
god im such a cheap whore
HiddenTalent
Profile Joined July 2005
United States246 Posts
June 10 2007 03:52 GMT
#4
Nice! I've always wanted to be able to have multiple comes play under the same roof! Thanks alot for sharing this info!
HydraRulz
Profile Blog Joined May 2006
Romania36 Posts
June 10 2007 05:12 GMT
#5
well i've tryed this and a lot of things, like changing the starcraft port too and then redirecting the ports, and there still is lag.
don't know what to do next
glaex
Profile Joined July 2005
United States304 Posts
June 10 2007 07:31 GMT
#6
Hydrarulz, what router and firmware are you using?
god im such a cheap whore
CharlieMurphy
Profile Blog Joined March 2006
United States22895 Posts
June 10 2007 07:57 GMT
#7
bookmarked this page, thanks will try when I have a lan that lags.
..and then I would, ya know, check em'. (Aka SpoR)
Rotodyne
Profile Blog Joined July 2005
United States2263 Posts
June 10 2007 08:04 GMT
#8
I have a D-LINK 524G, we can play in the same game together without lag, just not when one of us hosts. I guess that's better than most people, so I shouldn't complain ^_^
I can only play starcraft when I am shit canned. IPXZERG is a god.
kh0sa
Profile Joined June 2007
Canada2 Posts
June 16 2007 19:24 GMT
#9
I have a problem. I installed the dd-wrt and everything, however I still get lag after following the steps. I think the problem is because I don't know where to paste the lines... Admin>Commands is not there... im using Linksys wrt54g v 3.0

Please help with where to install.

my first comps ip is 192.168.1.3 and the other one (wireless) is 192.168.1.103, and my ip is 70.70.130.213. help would be much appreciated, plz also look below and see if i have inputted the numbers right ( i changed 6112 and 6113 to one number higher each because bnet said 6112 had poor connection or something)


iptables -t nat -I PREROUTING -p udp -d 70.70.130.213 --dport 63002 -j DNAT --to-destination 192.168.1.3:6113
iptables -t nat -I POSTROUTING -p udp -s 192.168.1.3 --sport 6113 -j SNAT --to-source 70.70.130.213:63002
iptables -t nat -I PREROUTING -p udp -d 70.70.130.213 --dport 63003 -j DNAT --to-destination 192.168.1.3:6114
iptables -t nat -I POSTROUTING -p udp -s 192.168.1.101 --sport 6114 -j SNAT --to-source 70.70.130.213:63003
Pain is weakness leaving the body
Naib
Profile Blog Joined November 2004
Hungary4904 Posts
June 16 2007 19:48 GMT
#10
Thanks a lot, if only this was available a few weeks earlier when we needed it greatly...too bad I'm not smart enough to figure this out on my own
Complete the cycle!
Waldon
Profile Joined April 2007
United States34 Posts
Last Edited: 2007-06-16 21:26:08
June 16 2007 21:19 GMT
#11
I can't even find the go to administrations > then to commands

I have a linksys WRT54GS on the firmware v4.71.1

I go to administrations, but there's no "command" option to paste any type of info or anything... is it just not supported on my router? help?

i checked that DD-WIKI 3rd party flash thing, i have a v1.1 and for the type of flash tool to be used is a "?"

so theres no way to flash it i guess..?
I like them round, big, soft, and with milk. Yes, some homemade cookies.
Waldon
Profile Joined April 2007
United States34 Posts
June 16 2007 21:47 GMT
#12
ok i found a OpenWRT source that worked with my v1.1 now when i login to my router it looks completely different --- but theres no "Administration" hence no "commands"


no where to paste anything to... help?
I like them round, big, soft, and with milk. Yes, some homemade cookies.
HolyToss1911
Profile Joined May 2007
354 Posts
Last Edited: 2007-06-16 23:56:45
June 16 2007 23:55 GMT
#13
i didnt want to make another threat but i have this problem i can host games and play 1v1 normal (i have ports 6110-6119 open) but i cant play 2v2 or 3v3 or 4v4 i lag the game i cant even play a 3 player free for all i cant find anything about this when i search the forums.

ps: i have a speedstream 4200 router, my speed is 328 kb/s.

ps2: i used to play starcraft when the version 1.12 was the lastest and i play with a dial up moden 3v3 without lag.
glaex
Profile Joined July 2005
United States304 Posts
Last Edited: 2007-06-20 13:34:12
June 19 2007 12:27 GMT
#14
kh0sa: edit nm, I was smoking crack. You had it right, the spaces belong there.

You type the script in at Administration > Commands in DD-WRT firmware v23sp2. In other versions it is probably somewhere else. After you paste the script in make sure you select save firewall. Again that is for v23sp2. In OpenWRT or Tomato or v23sp1 it might be somewhere else, if its there at all.

After that if you go the the commands page you will see the script below the commands box. Oh yeah, you also should delete any port forwarding settings with ports 6112 63002 or 63003
god im such a cheap whore
glaex
Profile Joined July 2005
United States304 Posts
June 20 2007 14:07 GMT
#15
I updated the original post pretty heavily.

Also it doesn't have anything to do with starcraft, but if you use p2p a lot you're probably used to having to reboot your router after every couple days. To fix this just change the maximum ports and TCP/UDP Timout under Administraton > Management > IP Filter Settings (adjust these for P2P) to: Maximum Ports 4096, TCP Timeout (in seconds) 120, UDP Timeout (in seconds) 120 like in the picture below
[image loading]


god im such a cheap whore
5HITCOMBO
Profile Joined March 2006
Japan2239 Posts
Last Edited: 2007-06-20 14:22:36
June 20 2007 14:21 GMT
#16
Also, it's extremely helpful to set your computer(s)' addresses to static ip addresses within the router.

i.e. 192.168.1.115 or something. Only the last variable should change. If your router uses a 192.168.2.x or a 192.168.0.x address, replace the x with some random number in the same fashion.

If you have two routers for some retarded or non-retarded reason, you may have a bit more trouble getting this to work.

Remember never to set x to 1 or 0 or 255. If you don't understand why, it's okay, but just remember that those numbers are no good.
I live in perpetual fear of terrorists and studio gangsters
prOxi.swAMi
Profile Blog Joined November 2004
Australia3091 Posts
June 20 2007 15:44 GMT
#17
nice post, straight into my favs
Oh no
Kreeeee
Profile Joined May 2004
305 Posts
Last Edited: 2007-06-22 01:54:23
June 22 2007 01:47 GMT
#18
Well I can now play in the same game now no one can join my games :p

Edit: People can join but they get dropped
I refuse to engage in a battle of wits against an unarmed opponent.
glaex
Profile Joined July 2005
United States304 Posts
June 23 2007 04:22 GMT
#19
Yeah, thats the trade off, it's as good as it gets for any setup I think. You can join with your lan computers but not create. Also when you're joining games where you have to download the map, make sure the first computer downloads the map before the second joins.

Posts like this make me wonder how many people have successfully followed this walk through... It would be nice if more posted about their success
god im such a cheap whore
Kreeeee
Profile Joined May 2004
305 Posts
June 23 2007 07:57 GMT
#20
On June 23 2007 13:22 glaex wrote:
Yeah, thats the trade off, it's as good as it gets for any setup I think. You can join with your lan computers but not create. Also when you're joining games where you have to download the map, make sure the first computer downloads the map before the second joins.

Posts like this make me wonder how many people have successfully followed this walk through... It would be nice if more posted about their success


I have a WRT45G v1.1 with firmware:

Firmware Version: v4.71.1, Hyperwrt 2.1b1 + Thibor15c

I can join anyones game in any configuration without any issues, even if we both don't have the map and join at pretty much the same time. The only issue I have is that neither PC can host games, also I needed to forward the 2 new ports for it to work.

Hope that helps, thanks a lot for this guide.
I refuse to engage in a battle of wits against an unarmed opponent.
Rotodyne
Profile Blog Joined July 2005
United States2263 Posts
June 23 2007 08:17 GMT
#21
On June 23 2007 13:22 glaex wrote:
Yeah, thats the trade off, it's as good as it gets for any setup I think. You can join with your lan computers but not create. Also when you're joining games where you have to download the map, make sure the first computer downloads the map before the second joins.

Posts like this make me wonder how many people have successfully followed this walk through... It would be nice if more posted about their success


My setup with a D-Link 54G already works like this, I only changed a few settings in the administration panel.
I can only play starcraft when I am shit canned. IPXZERG is a god.
Wannasee
Profile Joined October 2002
United States175 Posts
July 11 2007 01:45 GMT
#22
Got this working thanks! Also, if you actually port forward 6112 to the one pc, that pc will also be able to host games.
O_o?
XDawn
Profile Blog Joined February 2004
Canada4040 Posts
July 11 2007 02:39 GMT
#23
Doesn't this depend on what type of router you have?
I mean a crummy USR-50(something) but would the firmware work on that as well? or
Use it or lose it
Ass[eM]
Profile Joined July 2009
Canada4 Posts
July 22 2009 20:19 GMT
#24
This post is for those who have tried the above method this year.

This method stopped working since patch 1.16.1.

I have found a way to fix it. Please see my post on the battle.net forums.

It is very similar, but with some tweaks that finally makes it work again!

http://forums.battle.net/thread.html?topicId=18601081656&sid=3000

Cheers!

Ass[eM]
Eben
Profile Blog Joined September 2008
United States769 Posts
July 23 2009 22:08 GMT
#25
Good job, thanks for the guide.
-xpeh-
Profile Joined July 2009
Ukraine86 Posts
August 10 2009 13:31 GMT
#26
Hello.

You don't need to have to do with linups console - all that that lines make is a usual portmapping, that could be made within the web interface. And as i see, you need to enter your external ip, that means, you must get your ip and reenter this after your ip changes.

I agree that some open-source linups firmware like dd-wrt/openwrt allow to have multiple clients with the same external ip in the same game.
Normal
Please log in or register to reply.
Live Events Refresh
Monday Night Weeklies
16:00
#56
RotterdaM634
TaKeTV 304
TKL 169
IndyStarCraft 58
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 634
TKL 169
mouzHeroMarine 164
SteadfastSC 117
SHIN 77
BRAT_OK 62
IndyStarCraft 58
trigger 57
UpATreeSC 52
StarCraft: Brood War
Shuttle 1670
Sea 1369
EffOrt 817
Mini 734
Horang2 695
Soulkey 258
Mong 136
actioN 94
Hyun 51
Free 47
[ Show more ]
hero 46
scan(afreeca) 45
Aegong 33
Barracks 30
yabsab 28
Rock 17
soO 16
Bale 15
Noble 13
GoRush 13
Shine 12
Dota 2
Gorgc4788
qojqva2682
BananaSlamJamma148
LuMiX1
Counter-Strike
fl0m7290
zeus215
Super Smash Bros
Mew2King105
Heroes of the Storm
MindelVK8
Other Games
gofns37129
tarik_tv12102
Trikslyr1650
B2W.Neo994
hiko549
XaKoH 112
KnowMe95
C9.Mang067
QueenE59
Dewaltoss42
Beastyqt0
Organizations
Dota 2
PGL Dota 2 - Main Stream2372
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 15 non-featured ]
StarCraft 2
• StrangeGG 66
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 31
• Michael_bg 20
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• TFBlade700
Other Games
• Shiphtur158
Upcoming Events
OSC
7h 29m
ByuN vs Shameless
PiGosaur Cup
1d 7h
The PondCast
2 days
OSC
3 days
CranKy Ducklings
3 days
GSL
4 days
Maru vs ShoWTimE
Classic vs Reynor
herO vs Lambo
Solar vs Clem
BSL22 NKC (BSL vs China)
5 days
XuanXuan vs Jaystar
Mihu vs Messiah
eOnzErG vs Dewalt
Bonyth vs Jaystar
TerrOr vs Messiah
XuanXuan vs Mihu
eOnzErG vs Jaystar
Replay Cast
5 days
GSL
5 days
Patches Events
6 days
[ Show More ]
BSL22 NKC (BSL vs China)
6 days
Dewalt vs Messiah
Bonyth vs Mihu
TerrOr vs XuanXuan
eOnzErG vs Messiah
Jaystar vs Mihu
Dewalt vs XuanXuan
Bonyth vs TerrOr
Replay Cast
6 days
WardiTV Weekly
6 days
Liquipedia Results

Completed

Acropolis #4 - GSB
uThermal 2v2 2026 Main Event
Heroes Pulsing #1

Ongoing

IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
CSCL: Masked Kings S4
YSL S3
BSL 22 Non-Korean Championship
SCTL 2026 Spring
Maestros of the Game 2
WardiTV Spring 2026
Murky Cup 2026
Heroes Pulsing #2
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1

Upcoming

CSL 2026 Summer (S21)
CSLAN 4
Blizzard Classic Cup 2026
Kung Fu Cup 2026 Grand Finals
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
HSC XXIX
Douyu Cup 2026
BCC 2026
Heroes Pulsing #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.