How to avoid Antivirus Firewall blocking?

I just released a game that requires a PC and a mobile phone to communicate via UDP in a local area network. I have a mechanism that adds rules to the Windows firewall for the game.

However, some Antivirus software has blocked the game with its firewall, making it unplayable.
How do I avoid this scenario? Should I contact some of the Antivirus providers? Or, sign our program with a more potent certificate? Or, should I use some of the well-known ports for the game instead?

Answer

Just use well-known ports. Creating custom ports is usually a terrible idea.

Otherwise, you will need to get the users to add their own exceptions. Most enterprise software offers this advice.

Attribution
Source : Link , Question Author : ruiyl , Answer Author : jstuart-tech

Leave a Comment