2023-09-11 19:52:03 -05:00
|
|
|
{ ... }: {
|
|
|
|
networking = {
|
|
|
|
hostName = "eve-psr-nix0";
|
|
|
|
firewall = {
|
2024-12-05 09:19:27 -06:00
|
|
|
allowedTCPPorts = [ 22 80 443 23231 23232 23233 ];
|
|
|
|
allowedUDPPorts = [ 53 51820 ];
|
2023-09-11 19:52:03 -05:00
|
|
|
trustedInterfaces = [ "tun0" ];
|
|
|
|
};
|
|
|
|
nat = {
|
|
|
|
enable = true;
|
|
|
|
externalInterface = "enp1s0";
|
2024-12-05 09:19:27 -06:00
|
|
|
internalInterfaces = [ "tun0" "wg0" ];
|
2023-09-11 19:52:03 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|