Infini-DL360: setup nat for virtual ethernet interfaces
This commit is contained in:
parent
5070094370
commit
88cf6a401b
1 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,12 @@
|
|||
dhcpcd.denyInterfaces = [ "eno*" ];
|
||||
|
||||
defaultGateway = { address = "192.168.137.1"; interface = "br0"; };
|
||||
|
||||
nat = {
|
||||
enable = true;
|
||||
internalInterfaces = [ "ve-*" ];
|
||||
externalInterface = "br0";
|
||||
};
|
||||
};
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue