Common punkbuster/connections issues

This tutorial is for the ones who have problem connecting to a server and getting the following error: PB Guid Auth: UNKN or Awaiting connection... (while your mates are on the server).

The problem:

Something is blocking the communication between your system and cdkey authentication server, it could be a firewall, a router or anything that interferes with PunkBuster. Such as a firewall or other security program.

For the awaiting connection issue it is caused by an appointed net_