Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

58 total results found

IT Stuff

Proxmox FAQ

DynDNS

Windows Stuff

Apache

Powershell Scripts

Intune

Linux Stuff

FortiNet

CheckMK Stuff

pfSense Stuff

OpnSense Stuff

Patchmon Stuff

Active Directory

Powershell Scripts

Office 365

Powershell Scripts

Conditional Access / Bedingter Zugriff

Intune

Windows 10 / Windows 11

Windows Stuff

Windows Deployment Services

Windows Stuff

Vaultwarden Tools

Linux Stuff

Docker Compose YAMLs

Linux Stuff

SQL

Powershell Scripts

FortiAnalyzer Stuff

FortiNet

OpenSSL

Linux Stuff

Graylog Stuff

Linux Stuff

MariaDB

Linux Stuff

Windows Checks

CheckMK Stuff

Scripte

pfSense Stuff

Windows Server

Windows Stuff

Install Scripts

Powershell Scripts

Proxmox local erweitern / neu erstellen

Proxmox FAQ

bash vom pve öffnen und folgende Befehle ausführen: mkdir /pool pvesm remove local-lvm pvesm remove local lvremove /dev/pve/data lvresize -l +100%FREE --resizefs /dev/pve/root im Proxmox danach auf Rechenzentrum > Storage > Verzeichnis → /pool → Imag...

externe USB Festplatte mounten

Proxmox FAQ

per ssh mit Proxmox verbinden Mount Ordner erstellen : mkdir /mnt/usbplatte per Proxmox GUI unter Rechenzentrum > Storage > Hinzufügen (Verzeichnis) (z.B. VZDUMP als Inhalt) per ssh Festplatte raussuchen: fdisk -l Mounten der Festpl...

DDNS Synology

DynDNS

DDNS Update URL http://ddnss.de/nic/update?hostname=HOSTNAME&user=USERNAME&pwd=PASSWORD&myip=MYIP

Reset Windows DNS Server

Windows Stuff Windows 10 / Windows 11

Unter folgendem Pfad findet Ihr Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces den Key "ProfileNameServer" dort ist dann fälscherlicherweise eine IP Adresse hinterlegt. Dort am besten einfach den Wert rauslöschen,...

Reverse Proxy ans LDAP anbinden

Apache

div. Module freischalten (authnz_ldap_modul, Proxy Zeugs, etc)Anpassung vhosts Datei: Achtung: gilt für alle Reverse Proxy Einträge! <Location /> Order allow,deny Allow from all #AD Connect START # Basic authentication with LDAP against MS AD ...

Edit Global Proxy Settings

Powershell Scripts Active Directory

#tombehrendt # 08/03/2024 $UserProfiles = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\*" | Where {$_.PSChildName -match "S-1-5-21-(\d+-?){4}$" } | Select-Object @{Name="SID"; Expressi...

Safe Sender Domains

Powershell Scripts Office 365

Vorher per Powershell Verbindung zum Exchange Server aufbauen! Danach Powershell Script ausführen und "domainlist.txt" anpassen / erstellen. # domainlist.txt anlegen und Domains hinterlegen! # NAME: Add365SafeDomains.ps1 Param(    [Parameter(Ma...

jsons Vorlagen für Block non-joined Devices

Intune Conditional Access / Bedingter Zugriff

Dateien können in MS Intune hochgeladen werden block.json {     "Id": "39e54b08-adf3-4185-b2e5-8e16c8c2fca7",     "DisplayName": "Block Non-Hybrid Domain Machines",     "State": "enabled",     "Conditions": {         "Applications": {             "Incl...

Export Condentional Access Rules

Intune Conditional Access / Bedingter Zugriff

Export der JSON Dateien per Powershell     # Connect to your source tenant Connect-AzureAD # Define the folder where you want to export the rules $exportPath = "C:\ConditionalAccessExport" # Create the export folder if it doesn't exist if (-not (Te...

Admin Benutzer erstellen mit verschlüsseltem Kennwort

Windows Stuff Windows Deployment Services

@ Tom Behrendt | tom@tombehrendt.de Info: Um sicherzustellen, dass das verschlüsselte Passwort auf einem anderen Computer entschlüsselt und verwendet werden kann, müssen wir einen kryptografischen Schlüssel (einen "Key") verwenden, um das Passwort zu verschlü...

Vaultwarden Backup / Restore Scripts

Linux Stuff Vaultwarden Tools

Das Backup-Script kann per Crontab täglich ausgeführt werden:  0 0 * * * /scripts/vaultwarden-daily-backup-encrypt.sh Vaultwarden läuft bei mir als Dockercontainer. Alle Dateien liegen im Vaultwarden Ordner. Backup_dir -> wo soll das Backup gespeichert we...

vaultwarden

Linux Stuff Docker Compose YAMLs

docker-compose.yml   version: '3.8' services:   vaultwarden:     image: vaultwarden/server:latest     container_name: vaultwarden     restart: always     ports:           - 8081:80     environment:       - ADMIN_TOKEN=xyz       - DOMAIN=https://v...

nginx proxy manager

Linux Stuff Docker Compose YAMLs

docker-compose.yml version: '3.8' services:   nginx-proxy-manager:     image: jc21/nginx-proxy-manager:latest     container_name: nginx_proxy_manager     restart: unless-stopped     ports:       - '80:80'  # Public HTTP Port       - '443:443' # ...

Synology vDSM als Docker in LXC

Proxmox FAQ

LXC Container erstellen, Updates und Docker Compose installieren Script auf Proxmox Server ausführen: #!/bin/bash # Constants CONFIG_DIR="/etc/pve/lxc" TMP_DIR="/tmp" # Function to display log messages log() { echo -e "$1" } # Function ...

SQL enable TCP

Powershell Scripts SQL

[System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SqlWmiManagement') # Instantiate a ManagedComputer object which exposes primitives to control the # installation of SQL Server on this machine. $wmi = New-Object 'Microsoft.SqlServer...

IMG Datei in Proxmox importieren

Proxmox FAQ

Download der Datei über z.B wget wget https://tombehrendt.de/download.img Danach kann das IMG in die ensprechende VM sowie dem richtigen Storage importiert werden:  qm importdisk 110 download.img mypool 110 = VM ID download.img = IMG Datei, die import...

Passthrough von Festplatten in virtuelle Maschinen

Proxmox FAQ

Mittels per Befehl die aktuellen Festplatten anzeigen lassen:    ls -lah /dev/disk/by-id Part 1, Part 2, etc sind Partitionen!  Um eine Festplatte an eine VM durchzureichen, folgenden Befehl ausführen:    qm set 222 -sata1 /dev/disk/by-id/ata-Samsung_S...

CLI commands

FortiNet FortiAnalyzer Stuff

Datenbankenüberprüfung nach Updates / Recovery diagnose sql status migrate-db -> Show log SQL database migrate status diagnose sql status rebuild-db-> Show log SQL database rebuild status diagnose sql status upgrade-db -> Show log SQL database upgrade statu...

OpenSSL Nice2Know

Linux Stuff OpenSSL

CSR Request aus CNF Datei erstellen: openssl req -new -key admin.pem -out admin.csr -config openssl.cnf - aus CSR Datei ein Zertifikat (X.509 BASE64) von Windows PKI anfordern certreq -attrib "CertificateTemplate:CertServer/Client" -submit vml-01.req - Ü...

Graylog <> MongoDB | X.509 Zertifikat erneuern

Linux Stuff Graylog Stuff

Dieses How To bezieht sich auf Graylog Server, die sich per Zertifikat an einer (oder mehreren) MongoDB (im TLS / SSL Modus) authentifizieren! Es wird der vorhandene private Key des "OPENSEARCH-ADMIN" sowie die RootCA benötigt (wenn PKI Infrastruktur vorliegt...