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
Hello,
The web console allows you to log in to the server and adjust your firewall rules if you do not have SSH access.
https://www.vultr.com/docs/vultr-web-console-faq/
The network troubleshooting guide has other helpful information.
https://www.vultr.com/docs/troubleshooting-vultr-server-connections
--- David