Update container

This commit is contained in:
albert 2024-04-05 08:19:44 +09:00
parent 7e5cb4570b
commit 268efad778
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -8,9 +8,11 @@ in {
};
networking = {
nat.enable = true;
nat.internalInterfaces = [ "ve-+" ];
nat.externalInterface = lanInterface;
firewall.extraCommands = ''iptables -t nat -A POSTROUTING -o ${lanInterface} -j MASQUERADE'';
networkmanager.unmanaged = [ "interface-name:ve-*" ];
nat = {
enable = true;
externalInterface = lanInterface;
internalInterfaces = [ "ve-+" ];
};
};
}