2023-09-11 19:52:03 -05:00
|
|
|
{ ... }: {
|
|
|
|
networking = {
|
|
|
|
hostName = "eve-psr-nix0";
|
|
|
|
firewall = {
|
2024-02-24 12:01:51 -06:00
|
|
|
allowedTCPPorts = [ 22 80 443 7860 23231 23232 23233 9418 3000 ];
|
2024-01-28 12:30:36 -06:00
|
|
|
allowedUDPPorts = [ 53 1194 ];
|
2023-09-11 19:52:03 -05:00
|
|
|
trustedInterfaces = [ "tun0" ];
|
|
|
|
};
|
|
|
|
nat = {
|
|
|
|
enable = true;
|
|
|
|
externalInterface = "enp1s0";
|
|
|
|
internalInterfaces = [ "tun0" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|