This commit is contained in:
Bryan Ramos 2026-03-12 17:25:04 -04:00
parent fb0bc5666a
commit a36841f12f
2 changed files with 18 additions and 14 deletions

View file

@ -109,6 +109,23 @@
};
};
services.dnsmasq = {
enable = true;
settings = {
# All *.ramos.codes subdomains -> local server
address = "/.ramos.codes/192.168.0.154";
# Except www -> forward to upstream
server = [
"/www.ramos.codes/1.1.1.1"
"1.1.1.1"
"8.8.8.8"
];
cache-size = 1000;
};
};
networking.firewall.allowedUDPPorts = [ 53 ];
services.fail2ban = {
enable = true;
maxretry = 5;