From 1c8789319a2bb531829c0beb9d0d03e4c0c6950b Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Sat, 13 Jul 2024 15:58:30 +0200 Subject: [PATCH] Delete overleafserver/firewall_notes.txt --- overleafserver/firewall_notes.txt | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 overleafserver/firewall_notes.txt diff --git a/overleafserver/firewall_notes.txt b/overleafserver/firewall_notes.txt deleted file mode 100644 index 9b5c645..0000000 --- a/overleafserver/firewall_notes.txt +++ /dev/null @@ -1,17 +0,0 @@ -# FIREWALL NOTES: - -sed -i -e 's/DEFAULT_FORWARD_POLICY="DROP"/DEFAULT_FORWARD_POLICY="ACCEPT"/g' /etc/default/ufw -ufw reload -iptables -t nat -A POSTROUTING ! -o docker0 -s 172.18.0.0/16 -j MASQUERADE - -# Add the overlead-network to the firewall -docker network ls | grep overleaf-network -ufw allow in on br-ff9f46af3644 -ufw route allow in on br-ff9f46af3644 -ufw route allow out on br-ff9f46af3644 -iptables -t nat -A POSTROUTING ! -o br-ff9f46af3644 -s 172.18.0.0/16 -j MASQUERADE - -# For removing firewall settings we don't want: -ufw status numbered -ufw delete [NUMBER] -