*

Offline FunkyFr3sh

  • Maker of official unofficial stuff!
  • Administrator
  • *
  • 2468
This tutorial is also available in russian: Показать обучение на русском!




CnCNet NAT Traversal allows you to play fast Peer to Peer games without the need to forward any ports, however, NAT Traversal does not always work and some players have to use the slower tunnel connection instead.


Why I cannot use the fast Peer to Peer Connections?

Unfortunately it is not possible to have a 100% success rate, the following connections are known to have problems due to a so called Symmetric NAT:
3G | 4G (LTE) | Public Wifi Spots | Schools | Proxy Servers | VPN | And any other kinds of shared/public connections

A Symmetric NAT is mostly used on large scale networks.
Sometimes it is possible to guess the port and connect (Predictable Symmetric NAT), but that fully depends on how many users are sharing the same IP and/or the type of the Symmetric NAT used by your internet provider.

Cable/DSL/Fiber users usually have their own private IP, but some internet providers also use a Symmetric NAT on these connections.

In rare cases the problem can also be caused by your router at home.

Keep in mind, this has nothing to do with your download speed! You can have the fastest connection in the world but still fail to connect cause your connection is shared.


What can I do to solve the connection problems?

1. Make sure CnCNet is allowed in your Firewall and Anti-virus.

2. Do not use multiple connections at the same time (e.g. Wifi + Cable)

3. Do not use multiple routers at home.

4. Do not use any third party port testing tools, these tools can block the port and CnCNet won't be able to use the port anymore. Use the "/PortTest" command in the CnCNet client instead.

5. Do not use proxy servers or VPN's

6. Log in to your router and try to forward the port to ensure the problem is not on your end. You can find the port via the [Settings] button in the CnCNet client [Settings] -> [Game Settings] -> [Game Port], by default it is set to 8054 UDP, but CnCNet changes your port if there are any problems or you are playing with multiple users on the same connection.

A port forwarding tutorial can be found here: http://portforward.com/english/applications/port_forwarding/CnCNet/

To find out your router ip use the "/gips" command. It will show a clickable link in the main window.
To find out your local ip for the forwarding rule type "/ips". If there are multiple IPs then use the one that is almost identical to your router ip (except the last number). E.g. if the router IP is 192.168.1.1 then the Local IP should be 192.168.1.*

If your port is forwarded and you still fail to join/connect to peer to peer games then contact your internet provider and ask them to give you a private non shared IP or you can also ask them to forward the needed port.

Still no success? You can always join tunnel games (Games without the Lightning bolt icon) or create your own tunnel games.


What is the meaning of the +/- icons in Peer to Peer games?

Lightning Bolt
Restricted Cone/Port Restricted Cone NAT.
The most popular types of NAT, most home routers have it.
Users with this kind of NAT are able to connect to almost anyone, connection problems are rare.

Lightning Bolt +
No NAT (e.g. no router) or port forwarded.
Users who can host games with a + icon will always be able to connect to anyone, even to those who normally cannot use Peer to Peer games at all (Unpredictable Symmetric NAT)

Lightning Bolt -
Predictable Symmetric NAT.
Shared connection as mentioned above.
Users with a - icon cannot connect to other users who are behind a Symmetric NAT too.


Still some questions unanswered?

Please post in here or send me a message in the CnCNet client! If you like to have some information about your own connection then please type "/natx" in the CnCNet client, it will output testing results in the main window, include the results in your post.
« Last Edit: February 10, 2017, 01:22:06 PM by FunkyFr3sh »

*

Offline Humble

  • *
  • 376
When the failed to connect message pops up, many of us get our internet d/c for a minute.

*

Offline FunkyFr3sh

  • Maker of official unofficial stuff!
  • Administrator
  • *
  • 2468
When the failed to connect message pops up, many of us get our internet d/c for a minute.

This could be related to the port guessing for those with shared connections, it will send a lot of packets to different ports trying to hit the right one and connect.

You can turn the port guessing off in 2 different ways:
1. Forward your port, check the first post for all details.

2. Go to [Settings]->[Game Settings]->[Game Port] and change the port to 1161. Only do that if you have such a broken router DO NOT change your port to 1161 if you have a working router cause this port change will lower your chance to connect to others a lot. Better choose solution 1, port forwarding.

« Last Edit: April 25, 2016, 12:36:45 PM by FunkyFr3sh »

Hello!
Excellent project, my childhood games

May be anybody know, why i cannot join the game (red alert)?

I:
1. Download and install Red Alert from Cncnet
2. Firewall off, Anti-virus absent
3. Have only one router in the home
4. Dont use any third party port testing tools (e.g. "Port Forward Network Utilities")
5. Dont use proxy or VPN (use router asus rt-n12vp + NAT)
6. Forward the port on my router (/porttest  ->  "Your ports are open! You can host and join fast P2P games and also create your own fast self-hosted games!"  +  same test of "Port Forward Network Utilities")
7. Try to Connect only to the games with lighting bolt without plus or minus

But game failed ("Failed to connect... Please check your connection, Anti-Virus and Firewall settings!)" :(

I know, that i "can always join tunnel games" ©, but no such games in the lobby.
« Last Edit: May 07, 2016, 11:45:33 AM by Andrey »

*

Offline FunkyFr3sh

  • Maker of official unofficial stuff!
  • Administrator
  • *
  • 2468
Hello!
Excellent project, my childhood games

May be anybody know, why i cannot join the game (red alert)?

I:
1. Download and install Red Alert from Cncnet
2. Firewall off, Anti-virus absent
3. Have only one router in the home
4. Dont use any third party port testing tools (e.g. "Port Forward Network Utilities")
5. Dont use proxy or VPN (use router asus rt-n12vp + NAT)
6. Forward the port on my router (/porttest  ->  "Your ports are open! You can host and join fast P2P games and also create your own fast self-hosted games!"  +  same test of "Port Forward Network Utilities")
7. Try to Connect only to the games with lighting bolt without plus or minus

But game failed ("Failed to connect... Please check your connection, Anti-Virus and Firewall settings!)" :(

I know, that i "can always join tunnel games" ©, but no such games in the lobby.

Oh, so you can actually connect in the CnCNet client but the game itself fails to connect. That is weird, I guess there must be something blocking the game (ra95-spawn.exe). Not sure what it could be tbh...

Can you try to host a tunnel game on your own and see if that at least connects?

Just read this, interesting thread, I just posted this earlier on board 105.0
Okay, so I have not been playing because I have ADSL broadband, gives good speed but very shite ping like min 250ms+ and not consistent at all.

Anyways, today I played after a long time in Xme and Humble's tourney on my LTE hotspot, speed is around 5-30mbps on LTE  but ping is always consistent around 120ms, sometimes even 30-40ms so games are good.

PROBLEM: is the lighting fast games etc, how can I play those? or any other type of games on TS for that matter? Also while I was sitting in one of the game rooms, the server auto-kicked me for some conn thing(can't remember what the error was)

any solutions for me?

*

Offline fir3w0rx

  • *
  • 462
  • I'm All About That Base
Where can I see which type of lightning bolt my connection is?

*

Offline FunkyFr3sh

  • Maker of official unofficial stuff!
  • Administrator
  • *
  • 2468
Just read this, interesting thread, I just posted this earlier on board 105.0
Okay, so I have not been playing because I have ADSL broadband, gives good speed but very shite ping like min 250ms+ and not consistent at all.

Anyways, today I played after a long time in Xme and Humble's tourney on my LTE hotspot, speed is around 5-30mbps on LTE  but ping is always consistent around 120ms, sometimes even 30-40ms so games are good.

PROBLEM: is the lighting fast games etc, how can I play those? or any other type of games on TS for that matter? Also while I was sitting in one of the game rooms, the server auto-kicked me for some conn thing(can't remember what the error was)

any solutions for me?

There is probably nothing you can do

Where can I see which type of lightning bolt my connection is?

You can't see it on your own atm, you would need to host a game and ask someone to tell you which icon you have