You need to consider the followings to protect your server with firewall without impacting the performance of ProudNet.
- When starting server (Proud.CNetServer.Start), you need to allow transmission of TCP port assigned from Proud.CStartServerParameter.m_tcpPort.
- And UDP ports(Proud.CStartServerParameter.m_udpPorts) that were assigned at the startup of server must be open for both send and receive. To apply these settings safely, please refer to Firewall setup to defend DDOS attack.
- Unless there is any otherwise, you should allow the transmission of ICMP type of IP packet. Without this on, there could be periodical failure in network. For example, if ICMP Type=3 Code=4 packet is blocked, it could sometimes cause disconnection between server and client.
Reference