Mistborn is your own virtual private cloud platform and WebUI that manages self hosted services, and secures them with firewall, Wireguard VPN w/ PiHole-DNSCrypt, and IP filtering. Optional SIEM+IDS. Supports 2FA, Nextcloud, Jitsi, Home Assistant, +
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
638 B

#!/bin/bash
5 years ago
set -e
source ./scripts/subinstallers/vars.sh
# start from scratch
sudo iptables -X MISTBORN-DOCKER-USER 2>/dev/null || true
sudo iptables -N DOCKER-USER || true
sudo iptables -N MISTBORN-DOCKER-USER || true
# default Mistborn Docker User chain
sudo iptables -A MISTBORN-DOCKER-USER -i $iface -s 10.0.0.0/8 -j RETURN
sudo iptables -A MISTBORN-DOCKER-USER -i $iface -s 172.16.0.0/12 -j RETURN
sudo iptables -A MISTBORN-DOCKER-USER -i $iface -s 192.168.0.0/16 -j RETURN
sudo iptables -A MISTBORN-DOCKER-USER -i $iface -j MISTBORN_INT_LOG_DROP
# add chain to DOCKER-USER
sudo iptables -I DOCKER-USER -j MISTBORN-DOCKER-USER