Answer the question
In order to leave comments, you need to log in
Why doesn't ssh allow from external ip?
On internal IP lets without problems.
Logs are empty for some reason (look at cat /var/log/messages | grep sshd )
Answer the question
In order to leave comments, you need to log in
Show the output of the commands:
netstat -ntpua | grep 2222
iptables-save
cat /etc/hosts.allow
cat /etc/hosts.deny
Most likely the problem is either in the firewall or in the routing, is your server by chance not behind nat?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question