• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Installed UFW and my server is not reachable anymore

MrPleskLearner

Basic Pleskian
Hi!

I had completely good working Ubuntu 22.04 Server with Plesk 18. I installed UFW via

sudo apt-get install ufw
sudo ufw enable

Now all my websites, plesk server etc is not reachable anymore...

So thanks to my hosting provider i could put the server into repair mode. I can access via putty.

How can i now uninstall this UFW completely and make the allowed ports default again? I tried:

sudo ufw disable
sudo apt-get remove ufw
sudo apt-get purge ufw

But it says commond not found and it deletes nothing...

It seems like this repair mode is totally different than the normal server. I cannot see my server files at all.

How will i access to my server normal again? Thank you in advance! :)
 
I don't know who your hosting provider is but usually when you're in repair the actual file system is either A) not mounted or B) mounted elsewhere. You'll need to find where that mounted or find the drive in question (you could usually use fdisk -l to get a list if disk and just find the partition in question to mount). Each host is different though so you might want to reach out to them for help on that if need be.
 
Back
Top