Need help please

Gamer's Internet Tunnel, formerly Gamer's IPX Tunnel

Need help please

Postby troky » Mon Dec 13, 2004 6:11 pm

Hi all,

I am trying to setup GIT for playing LAN games accross different netwoks but it doesn't work well. Here is situation

PC1:
XP, GIT client
LAN: 192.168.51.0/24
IP: 192.168.51.4
connected to router1 (192.168.51.1, 10.51.20.1)
GIT alternate source IP 192.168.51.4 to 10.51.20.1
GIT connects to 10.51.20.80

PC2:
XP, GIT server
LAN: 192.168.0.0/24
IP: 192.168.0.3
connected to router2 (192.168.0.1, 10.51.20.80)
GIT alternate source IP 192.168.0.3 to 10.51.20.80

- router1 and router2 are connected in WLAN
- on both routers we did port forwarding to local PCs
- PC2 is hosting game

GIT connection is working fine and broadcast packets are forwarded and both players can see each other in game server list.
But, when one player (PC1) tries to initiate connecton (start game) it fails.
Network sniffer on PC1 says that game tries to connect to 192.168.0.3 (which is local address of PC2) instead to connect to 10.51.20.80.

It seems that GIT doesn't alter source ip properly... or I did something wrong?

Can someone help me?

Thanks,

Troky
troky
 
Posts: 4
Joined: Mon Dec 13, 2004 5:52 pm

Postby olejr » Tue Dec 14, 2004 2:26 am

Try not to alter source IP. Hardly ever needed...

And I also think that your netsniffer on PC1 is "sniffing" the packets
before it reaches GIT.. Someone correct me if I'm wrong..
olejr
 
Posts: 3
Joined: Tue Dec 14, 2004 2:24 am

Postby troky » Tue Dec 14, 2004 3:35 am

olejr wrote:And I also think that your netsniffer on PC1 is "sniffing" the packets
before it reaches GIT.. Someone correct me if I'm wrong..


I used NetPeeker to see what ports are open and what communication is going on... PC1 is trying to connect do localc address of PC2 (192.168.0.3).
:( :(
troky
 
Posts: 4
Joined: Mon Dec 13, 2004 5:52 pm

Postby olejr » Tue Dec 14, 2004 3:47 am

It's supposed to connect to the local IP...
Try without "alter source IP"..
olejr
 
Posts: 3
Joined: Tue Dec 14, 2004 2:24 am

Postby troky » Tue Dec 14, 2004 4:36 am

olejr wrote:It's supposed to connect to the local IP...
Try without "alter source IP"..


Now I am totally confused! :?

How can PC1 (192.168.51.4/24) connect to 192.168.0.3/24? They are on different subnets and packets go through 2 routers... or all game traffic shoud go through GIT?
BTW... brodacasting is on port 1108 (UDP) and communication is on port 1107 (TCP).

Troky
troky
 
Posts: 4
Joined: Mon Dec 13, 2004 5:52 pm

Re: Need help please

Postby olejr » Tue Dec 14, 2004 4:46 am

troky wrote:
GIT connection is working fine and broadcast packets are forwarded and both players can see each other in game server list.
But, when one player (PC1) tries to initiate connecton (start game) it fails.
Network sniffer on PC1 says that game tries to connect to 192.168.0.3 (which is local address of PC2) instead to connect to 10.51.20.80.

Well I just reread this part of your post..
You say that broadcast is forwarded and players see each other.
Then, when starting the game it try to connect to the "right" address.
(Where the server is running)
olejr
 
Posts: 3
Joined: Tue Dec 14, 2004 2:24 am

Postby troky » Tue Dec 14, 2004 10:52 am

Still doesn't work.
It seems that UDP packets are forwarded ok, but not TCP or ICMP.
In config I even entered to forward ALL ports except GIT (213), and still nothing.

btw, I am using GIT 0.99b3 and winpcap 3.0.

Troky
troky
 
Posts: 4
Joined: Mon Dec 13, 2004 5:52 pm

Postby Matrix_D » Sun Jan 23, 2005 6:18 pm

Just a thought but don't your lans need to be on the same subnet mask?
Like you should both be 192.168.0.X or both 192.168.51.X not either or.

Just a thought, and never hurts to try.
Matrix_D
 
Posts: 6
Joined: Sun Jan 23, 2005 6:14 pm


Return to GIT

Who is online

Users browsing this forum: No registered users and 25 guests

cron