G
G
Gennady Kruglov2021-03-10 02:02:48
ubuntu
Gennady Kruglov, 2021-03-10 02:02:48

How to set up UFW on Ubuntu 16.4?

I am practically unfamiliar with Linux systems, I recently bought a VDS, played around and studied, with Ubuntu preinstalled there, I wanted to raise a .Net Core application there, at the same time setting up a firewall.
Found a short tutorial online.
I write commands:
sudo ufw allow http
sudo ufw allow https
sudo ufw allow ssh


Then I enter sudo ufw enable and get an error like
6047fe27c719b150541674.png

What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AUser0, 2021-03-10
@AUser0

This is a feature of Ubuntu running under OpenVZ virtualization.
Do as it is written here: https://blog.kylemanna.com/linux/ufw-vps/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question