Files
Programming-Contests/files/enable_firewall.sh
T
2026-10-15 20:44:05 -03:00

13 lines
321 B
Bash
Executable File

#!/bin/bash
# Turns the contest firewall on and keeps it on across reboots.
systemctl enable firewall.service
systemctl start firewall.service
systemctl enable refresh_rules.service
systemctl start refresh_rules.service
systemctl enable refresh_rules.timer
systemctl start refresh_rules.timer
echo "Firewall enabled."