Cannot access to my OVH VPS: SSH and SFTP timeout

Support for security such as Firewalls and securing linux
Post Reply
sadok
Posts: 1
Joined: 2021/04/30 21:46:16

Cannot access to my OVH VPS: SSH and SFTP timeout

Post by sadok » 2021/04/30 21:55:24

hello.
i executed these commands :
sudo systemctl stop firewalld
sudo systemctl disable firewalld
sudo systemctl mask --now firewalld
sudo yum install iptables-services
sudo systemctl start iptables
sudo systemctl start ip6tables
sudo systemctl enable iptables
sudo systemctl enable ip6tables
sudo systemctl status iptables
sudo systemctl status ip6tables
sudo iptables -nvL
sudo ip6tables -nvL
and then reboot my vps
now myvps is down and give connection timeout error
i can not access to the controle pannel or SSH service
please someone help it's very urgent
i can give the rescue mode for modification
thank you

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cannot access to my OVH VPS: SSH and SFTP timeout

Post by TrevorH » 2021/04/30 22:02:50

Logon via the console as root and add some rules to iptables. It probably doesn't have any at all and defaults to deny all access.If you have no console access then you're probably screwed.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Cannot access to my OVH VPS: SSH and SFTP timeout

Post by jlehtone » 2021/05/02 09:44:45

sadok wrote:
2021/04/30 21:55:24
hello.
i executed these commands :
...
sudo iptables -nvL
sudo ip6tables -nvL
What rules did you see there? Did you check them? Were they sensible?

Post Reply