From: xf0r3m Date: Wed, 4 Jun 2025 10:26:28 +0000 (+0200) Subject: Dodanie plików usługi ufw status. X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=9ad37f1b6b74da648fb12b41c92ea3e7c6591f08;p=e5270.git Dodanie plików usługi ufw status. --- diff --git a/ufw-setup b/ufw-setup new file mode 100644 index 0000000..7a5a0a5 --- /dev/null +++ b/ufw-setup @@ -0,0 +1,4 @@ +#!/bin/bash + +ufw allow 1714:1764/udp +ufw allow 1714:1764/tcp diff --git a/ufw-setup.service b/ufw-setup.service new file mode 100644 index 0000000..3c0b949 --- /dev/null +++ b/ufw-setup.service @@ -0,0 +1,9 @@ +[Unit] +Description=Configure UFW with ufw commands in script +After=ufw.service +[Service] +Type=OneShot +ExecStart=/usr/local/sbin/ufw-setup +RemainAfterExit=yes +[Install] +WantedBy=multi-user.target