PC Ekspert Forum

PC Ekspert Forum (https://forum.pcekspert.com/index.php)
-   Mreže (https://forum.pcekspert.com/forumdisplay.php?f=16)
-   -   NAT postavke na Thomson TWG850 problem (https://forum.pcekspert.com/showthread.php?t=206411)

vip-terminator 31.12.2010. 18:00

NAT postavke na Thomson TWG850 problem
 
Pozzzzz!

Imam problem sa mrežnim igranjem. Naime, imam 2 kompa koju su spojena na Bnetov Thomson TWG850 router. Igramo StarCraft 1 online i problem se javlja kaj igramo u istoj sobi. Kada smo spojeni online i svako u svojoj igri, sve je ok....al kad smo zajedno u jednoj sobi imamo ogroman LAG.

Naso sam na Blizzardovom sajtu kak popravit lag kad imam 2 kompa na jednom routeru al se izgubim kad pise da trebam podesit NAT jer ne nalazim tu opciju na routeru.

Naso sam ovo:



1) Remove any Port Forwarding rule on your router and make sure that all computers have their software firewall disabled;

2) You need to change the Network TCP/IP settings manually on each computer that you intend to play Starcraft / Brood War on as follows (this can be done by going to Network Connections, right-clicking on your Internet Connection and clicking on Properties, then scrolling down and double-clicking on Internet Protocol (TCP/IP)):

Each computer must have an IP Address with a different Subnet Mask.
Let's assume that the router has an IP Address of 192.168.1.1

Example:
Computer A: IP: 192.168.1.129
Subnet Mask: 255.255.255.128
Gateway: 192.168.1.1
Preferred DNS Server: 192.168.1.1

Computer B: IP: 192.168.1.193
Subnet Mask: 255.255.255.192
Gateway: 192.168.1.1
Preferred DNS Server: 192.168.1.1

3) You need to change the Port that Starcraft is using on Computer B.
To do this, open your registry editor "regedit" and go to your Starcraft registry key (in HKEY_CURRENT_USER\BATTLE.NET\Configuration\) and add a DWORD value, name it [Game Data Port] (without the brackets) and give it a value of 6113 (DECIMAL value, make sure you check that radio button). (Some computers might need to add it in HKEY_LOCAL_MACHINE\BATTLE.NET\Configuration\ and create the keys if they are not there (depends on Operating Systems))

4) You need to add a new NAT rule in the firewall of your router. To do this in DD-WRT, go to the Administration tab, then Commands and enter the rules below then click on SAVE FIREWALL.

In this example, 70.100.200.112 is the public IP address for the two people behind the NAT router (WAN IP Address). 192.168.1.129 is the IP address of one client machine (Computer A), and 192.168.1.193 is the IP address of the other client machine (Computer B). On the router, type these commands as root:

iptables -t nat -I PREROUTING -p udp -d 70.100.200.112 --dport 64001 -j DNAT --to-destination 192.168.1.129:6112
iptables -t nat -I POSTROUTING -p udp -s 192.168.1.129 --sport 6112 -j SNAT --to-source 70.100.200.112:64001


iptables -t nat -I PREROUTING -p udp -d 70.100.200.112 --dport 64002 -j DNAT --to-destination 192.168.1.193:6113
iptables -t nat -I POSTROUTING -p udp -s 192.168.1.193 --sport 6113 -j SNAT --to-source 70.100.200.112:64002

5) That's it! You're all set! Only problem is that you guys won't be able to create a game together, BUT IF YOU BOTH JOIN A GAME IT WILL WORK 100% with NO LAG OR CHOPPY! EVEN TRIED 4v4 with no problem whatsoever!!



ovo se nalazi na ovom linku


Dakle.....napravio sam step 1,2,3 i sad na 4tom ne znam kaj bi. Help desk u Bnetu naravno nema pojma....

tnx


Sva vremena su GMT +2. Sada je 00:21.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 1999-2024 PC Ekspert - Sva prava pridržana ISSN 1334-2940
Ad Management by RedTyger