From 8475b3bbd4ad57a9f601a097c43512ddd50ecc2d Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 16 Mar 2026 00:12:00 +0000 Subject: [PATCH] docs: update linux/linux-firewall --- linux/linux-firewall.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/linux/linux-firewall.md b/linux/linux-firewall.md index 0050e3d..d802dc5 100644 --- a/linux/linux-firewall.md +++ b/linux/linux-firewall.md @@ -2,7 +2,7 @@ title: Firewall Linux description: Firewall Konfiguration unter Linux published: true -date: 2026-03-16T00:06:16.703Z +date: 2026-03-16T00:11:57.931Z tags: firewall, linux editor: markdown dateCreated: 2026-03-15T23:56:44.726Z @@ -21,5 +21,16 @@ Mögliche Ausgabe Status: `active` oder `inactive`. sudo ufw status ``` 3) Bevor die Firewall aktiviert wird, sollten die Ports freigeschalten werden +Mit diesem Befehl sieht man sich an, welche Ports bereits in der Konfigdatei freigeschaltet sind (vor Aktivierung): +```bash + sudo ufw show added +``` Mit diesem Befehl schaltet man Ports frei zum Beispiel: - +```bash +ufw allow 22/tcp +ufw allow 80/tcp +ufw allow 3010/tcp +ufw allow 2222/tcp +ufw allow 21115:21119/tcp +ufw allow 21115:21119/udp +``` \ No newline at end of file