Block all ports - Cannot connect to server

Hi,

I have hosted my Centos server using Vultr.

We deployed a web app on port 8050 which does not allow public access. Hence, we tried to open port 8050 on iptables.

I'm following the tutorial, https://wiki.centos.org/HowTos/Network/IPTables.

On step 3 when I flushed existing rules, I was locked out of SSH server before adding TCP port 22 back to the rule.

To sum up, we have been locked out, could not access to the remote server through any ports, not even port 22 for SSH connection.

Would anyone give me a suggestion on how to re-open port 22 for SSH connection?


Thank you.

Comments

Sign In or Register to comment.