Ajout de portail captif

This commit is contained in:
Lyes Saadi 2024-09-01 15:07:25 +02:00
parent 1a11a23795
commit 480f074966
No known key found for this signature in database
GPG key ID: 17418538BAA17767
6 changed files with 26 additions and 12 deletions

View file

@ -30,6 +30,12 @@
'';
};
# Captive portals
programs.captive-browser = {
enable = true;
interface = "wlp9s0";
};
# Firewall
networking.firewall.allowedTCPPorts = [ 24872 8998 ];
networking.firewall.allowedUDPPorts = [ 24872 8998 ];