Monday, July 2, 2018

centos - ssh connection refused with out iptables rulles

I changed the ssh port from 22 to 2021 and it worked correctly till 3hours ago,after that when I can't connect to ssh.



ssh: connect to host 130.185.72.125 port 2021: Connection refused


so I checked iptables,I stop it from webmin,and

Chain INPUT (policy ACCEPT)
target prot opt source destination


Chain FORWARD (policy ACCEPT)
target prot opt source destination



Chain OUTPUT (policy ACCEPT)
target prot opt source destination


where is the problem?

No comments:

Post a Comment