dotfiles/run_once_firewalld-zones.sh

12 lines
263 B
Bash
Raw Normal View History

2022-11-25 20:15:34 +00:00
#!/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