I am having an issue where I can access a server remotely via SSH but if I send the reboot command. Once the server reboots I get a timeout when I try to relogin. The only way to fix the problem is to issue the following commands "service iptables restart" and "service sshd restart" from the physical server commandline. I use a non-standard port to access the server via SSH. The firewall is set to allow access on that port.
Can someone tell why this is happening?