Last active
November 2, 2021 20:32
-
-
Save cryptrz/40ea325528612ac18af385e4f167ef25 to your computer and use it in GitHub Desktop.
Pi-Hole on Fedora Linux (the easy way)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELinux will be configured in permissive mode, don't follow this steps if you're not on a secure network: | |
1) Switch to root user, set SELinux on permissive and reboot: | |
sudo -i | |
sed -i 's/^SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/config | |
reboot | |
2) Switch to root user and install Pi-Hole: | |
sudo -i | |
curl -sSL https://install.pi-hole.net | bash | |
3) Enable HTTP and DNS on firewalld: | |
firewall-cmd --add-service=http --add-service=dns --permanent | |
firewall-cmd --reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment