ovh: Remove internal network
This commit is contained in:
parent
371aeb8dca
commit
44b07ee028
2 changed files with 0 additions and 17 deletions
|
@ -22,8 +22,6 @@
|
|||
ip = "2001:41d0:203:cdee::";
|
||||
gateway = "2001:41d0:0203:cdff:00ff:00ff:00ff:00ff";
|
||||
};
|
||||
internalInterface = "eno2";
|
||||
internalIPV4 = "192.168.0.3";
|
||||
};
|
||||
wireguard.server = true;
|
||||
};
|
||||
|
|
|
@ -22,13 +22,6 @@
|
|||
gateway = "1:2:3:ff:ff:ff:ff:ff";
|
||||
};
|
||||
};
|
||||
internalInterface = lib.mkOption {
|
||||
default = "eno4";
|
||||
example = "eno2";
|
||||
};
|
||||
internalIPV4 = lib.mkOption {
|
||||
example = "192.168.0.1";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.chvp.base.network.ovh.enable {
|
||||
|
@ -57,14 +50,6 @@
|
|||
"2606:4700:4700::1001"
|
||||
];
|
||||
};
|
||||
"${internalInterface}" = {
|
||||
enable = true;
|
||||
matchConfig = { Name = "${internalInterface}"; };
|
||||
address = [ "${internalIPV4}/16" ];
|
||||
routes = [
|
||||
{ Destination = "${internalIPV4}/16"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue