final setup for router, tested
This commit is contained in:
parent
c31dc86310
commit
58ce5e8a6c
6 changed files with 53 additions and 25 deletions
|
|
@ -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" ];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue