mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 21:04:38 -05:00
feat: wireguard test
This commit is contained in:
parent
9c69449a55
commit
67892565eb
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ config, flake, ... }:
|
{ config, flake, ... }:
|
||||||
let
|
let
|
||||||
inherit (flake.config.services.instances) wireGuard;
|
inherit (flake.config.services.instances) wireGuard searx;
|
||||||
inherit (flake.config.machines.devices) mars ceres;
|
inherit (flake.config.machines.devices) mars ceres;
|
||||||
service = wireGuard;
|
service = wireGuard;
|
||||||
in
|
in
|
||||||
|
@ -15,6 +15,9 @@ in
|
||||||
service.ports.port0
|
service.ports.port0
|
||||||
service.ports.port1
|
service.ports.port1
|
||||||
];
|
];
|
||||||
|
interfaces.wg0.allowedTCPPorts = [
|
||||||
|
searx.ports.port0
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nat = {
|
nat = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue