From 279488c1f5d4d7677354af920909745253419c4b Mon Sep 17 00:00:00 2001
From: Florent Gluck <florent.gluck@hesge.ch>
Date: Thu, 3 Oct 2024 13:30:34 +0200
Subject: [PATCH] Closed unused ports

---
 live_exam_os/config/03-boot_hooks/9999-firewall | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/live_exam_os/config/03-boot_hooks/9999-firewall b/live_exam_os/config/03-boot_hooks/9999-firewall
index eb684dce..3dcbca98 100755
--- a/live_exam_os/config/03-boot_hooks/9999-firewall
+++ b/live_exam_os/config/03-boot_hooks/9999-firewall
@@ -7,9 +7,6 @@ firewall ()
     # Block all incoming and outgoing traffic
     ufw default deny incoming
     ufw default deny outgoing
-    # Allow outgoing http and https traffic to nexus-server
-    ufw allow out from any to $1 port 80
-    ufw allow out from any to $1 port 443
     # Allow outgoing traffic to nexus-server API
     ufw allow out from any to $1 port $2
     # Allow outgoing ntp and dns traffic
-- 
GitLab