fix: open port for kea dhcp4

This commit is contained in:
Benjamin Bädorf 2023-09-12 10:25:55 +02:00
parent d37aaa2622
commit 22c978d496
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -1,9 +1,12 @@
{ pkgs, adblock-unbound, ... }: { pkgs, adblock-unbound, ... }:
{ {
networking.firewall.allowedUDPPorts = [ 67 ];
services.kea.dhcp4 = { services.kea.dhcp4 = {
enable = true; enable = true;
settings = { settings = {
interfaces-config = { interfaces-config = {
dhcp-socket-type = "raw";
interfaces = [ interfaces = [
"enabcm6e4ei0" "enabcm6e4ei0"
"wlan0" "wlan0"
@ -63,6 +66,7 @@
enable = true; enable = true;
settings = { settings = {
interfaces-config = { interfaces-config = {
dhcp-socket-type = "raw";
interfaces = [ interfaces = [
"enabcm6e4ei0" "enabcm6e4ei0"
"wlan0" "wlan0"