commit 26a08ff95806db41e93bfa6530ef2cbcc5af25b6 parent ceab7d7009f0dcf1f89dac646a6a635fc37110eb Author: MTRNord <mtrnord1@gmail.com> Date: Sun, 28 Jan 2024 16:30:28 +0100 Working on opnsense Diffstat:
| M | nixos/worker-2/configuration.nix | | | 14 | ++++++++++++-- |
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix @@ -115,8 +115,18 @@ in { address = [ "10.0.0.3/24" ]; - gateway = [ - "10.0.0.2" + routes = [ + { + routeConfig = { + Gateway = "10.0.0.1"; + }; + } + { + routeConfig = { + Gateway = "10.0.0.2"; + GatewayOnLink = true; + }; + } ]; }; "20-v6" = {