This has nothing to do with a firewall or router. The server/network, or your link between the server/network is under extreme lag and/or losing packets. Packets can be lost/delayed if your duplex settings are incorrect, so I'd have a look there first