From 6bc17df2bbf56530afd816d85da7e77e5b1bcc5f Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Sat, 13 Jul 2024 15:58:54 +0200 Subject: [PATCH] Create create.txt --- overleaf-network/create.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 overleaf-network/create.txt diff --git a/overleaf-network/create.txt b/overleaf-network/create.txt new file mode 100644 index 0000000..e14e942 --- /dev/null +++ b/overleaf-network/create.txt @@ -0,0 +1,14 @@ +docker network create overleaf-network + +# FIREWALL NOTES: + +# 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]