The server is blocking all ports

I rebooted and suddenly all ports were blocked.
A remote console connection was established. Where should I start checking?

First you should check your iptables rules:

v-list-firewall
iptables -S