10 lines
201 B
Nix
10 lines
201 B
Nix
{ config, pkgs, ...}:
|
|
|
|
{
|
|
networking.nat = {
|
|
enable = true;
|
|
extraCommands = "iptables -A INPUT -p icmp -j ACCEPT";
|
|
externalInterface = "ens18";
|
|
internalInterfaces = [ "ens19" ];
|
|
};
|
|
} |