allow promethus onto the wg0 interface

This commit is contained in:
stupidcomputer 2024-10-28 19:29:20 -05:00
parent af0395badd
commit 808ce0fefc
1 changed files with 14 additions and 1 deletions

View File

@ -83,7 +83,20 @@
firewall = { firewall = {
enable = true; enable = true;
allowedTCPPorts = [ 80 443 ]; interfaces = {
eth0 = {
allowedTCPPorts = [ 80 443 ];
};
wg0 = {
# allow everything bound to the wg0 interface
allowedTCPPortRanges = [
{ from = 1; to = 35565; }
];
allowedUDPPortRanges = [
{ from = 1; to = 35565; }
];
};
};
}; };
}; };
} }