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 = {
|
networking = {
|
||||||
nat.enable = true;
|
networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
||||||
nat.internalInterfaces = [ "ve-+" ];
|
nat = {
|
||||||
nat.externalInterface = lanInterface;
|
enable = true;
|
||||||
firewall.extraCommands = ''iptables -t nat -A POSTROUTING -o ${lanInterface} -j MASQUERADE'';
|
externalInterface = lanInterface;
|
||||||
|
internalInterfaces = [ "ve-+" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue