feat: add protected one-time TOTP QR enrollment
This commit is contained in:
8
betrieb/ufw-lan-freigeben.sh
Normal file
8
betrieb/ufw-lan-freigeben.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Zweck: KeyForge in vorhandener UFW ausschließlich für das Heimnetz freigeben.
|
||||
# Wichtige Information: Adressen und Interface entsprechen srv04; benötigt root.
|
||||
# Version: 1
|
||||
set -euo pipefail
|
||||
[[ $(id -u) == 0 ]] || { echo 'Bitte mit sudo ausführen.'; exit 1; }
|
||||
ufw allow in on enp6s0 proto tcp from 192.168.12.0/23 to 192.168.12.4 port 8787 comment 'KeyForge LAN'
|
||||
ufw status numbered
|
||||
Reference in New Issue
Block a user