dotfiles/run_once_firewalld-zones.sh
2022-11-29 21:20:31 +01:00

11 lines
263 B
Bash

#!/bin/bash
set -e
exec 2> >(while read line; do echo -e "\e[01;31m$line\e[0m"; done)
nmcli connection modify HomeNet connection.zone home
firewall-cmd --permanent --zone=home \
--add-service ausweisapp2 \
--add-service gsconnect
firewall-cmd --reload