Update container
This commit is contained in:
parent
7e5cb4570b
commit
268efad778
1 changed files with 6 additions and 4 deletions
|
@ -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-+" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue