Page 1 of 1

NAT?

PostPosted: Thu Oct 28, 2004 11:10 pm
by Bally
I did alot of researching on yahoo about NAT and have a few questions about it. My router has DHCP turn on so does that mean im on a NAT network? Im trying to get connect to my friend and we both have routers. before she was connected directly to the internet so GIT worked fine w/ the tcp listen/connect method but now we cant establish a connection to each other. Any help would be much appreciated.

PostPosted: Fri Oct 29, 2004 12:36 am
by Ark
DHCP does not imply NAT, but in a home router it almost never makes sense to use DHCP for a real IP since you likely don't have more then 1, or even a static IP, so you probably are using NAT.
You need to forward port 213, or whatever port you are using for the GIT connection (not the ports GIT is tunneling). Forward that port (probably 213) in your router from your external address to the internal address of the computer running GIT.
Its best if both sides can forward port 213 UDP and you can use GIT UDP connections, but if only one side can forward port 213 properly, and both sides are using NAT or firewalls, then the side that can forward ports will need to forward port 213 TCP and use TCP listen on that side, and TCP connect on the other side.