From 13f531d7b4d2840bc80c785e946fb10c6a3e585b Mon Sep 17 00:00:00 2001 From: bach Date: Thu, 29 Apr 2021 12:44:24 +0200 Subject: [PATCH] firewall --- readme.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/readme.md b/readme.md index 1fc8756..e41459a 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,13 @@ # Installing editoria on debian 10 for production needs min 2Gb of memory and 150Gb of storage + ## Docker ``` @@ -341,3 +348,14 @@ ln -s /etc/nginx/sites-available/your.domain.ltd.conf /etc/nginx/sites-enabled/ systemctl restart nginx ``` + +## firewall + +```sh +apt-get --yes install ufw +ufw allow ssh +ufw allow http +ufw allow https +ufw allow from 172.18.0.1/16 +ufw allow 9000 +```