final setup for router, tested

This commit is contained in:
bogale 2026-11-08 17:47:43 +09:00
commit 58ce5e8a6c
6 changed files with 53 additions and 25 deletions

View file

@ -1,19 +1,13 @@
{ config, pkgs, ... }: {
networking = {
firewall = {
allowedTCPPorts = [
2049
53
];
allowedTCPPorts = [ 2049 ];
allowedUDPPorts = [
53
547
67
69
];
};
nat = {
enable = true;
enableIPv6 = true;
internalInterfaces = [ "br0" ];
};