WIP: router: add miniupnpd for automatic port forwarding (e.g. syncthing)
This commit is contained in:
parent
e484d6baa3
commit
85028e0ec6
@ -4,6 +4,16 @@ let
|
|||||||
domain = vars.domain;
|
domain = vars.domain;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
services.miniupnpd = {
|
||||||
|
enable = true;
|
||||||
|
natpmp = true;
|
||||||
|
externalInterface = vars.ifs.wan.name;
|
||||||
|
internalIPs = [
|
||||||
|
vars.ifs.lan.name
|
||||||
|
vars.ifs.lan20.name
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# https://wiki.nixos.org/wiki/Prometheus
|
# https://wiki.nixos.org/wiki/Prometheus
|
||||||
services.prometheus = {
|
services.prometheus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user