Skip to content

Instantly share code, notes, and snippets.

View markwell-ch's full-sized avatar

Markus W. markwell-ch

  • Winterthur, Switzerland
View GitHub Profile
@markwell-ch
markwell-ch / unifi_container_rb5009.md
Created April 19, 2023 14:16 — forked from marfillaster/unifi_container_rb5009.md
Running Unifi Network Controller as a container in MikroTik ROSv7 RB5009

Requirement

  • USB flash drive - this is where the container filesystem will be persisted

Set-up docker bridge network

/interface bridge add name=docker

Set-up veth to be used by container

@markwell-ch
markwell-ch / decrypt-pfsense-config.sh
Created December 21, 2020 09:23 — forked from JonathonReinhart/decrypt-pfsense-config.sh
Decrypt pfSense encrypted config backups
#!/bin/bash
# Adapted from https://forum.netgate.com/topic/139561
set -o pipefail
if [[ $# -lt 1 ]]; then
echo "Usage: $(basename $0) <encrypted-config>"
exit 1
fi
inpath="$1"
tmpout="$(mktemp)"