add nat
This commit is contained in:
@@ -137,7 +137,7 @@
|
|||||||
# Setup NAT masquerading on external interfaces
|
# Setup NAT masquerading on external interfaces
|
||||||
chain postrouting {
|
chain postrouting {
|
||||||
type nat hook postrouting priority filter; policy accept;
|
type nat hook postrouting priority filter; policy accept;
|
||||||
oifname { "wan", "wrwks", "wg_epicenter", "wg_ghetto_at" } masquerade
|
oifname { "wan", "server", "wrwks", "wg_epicenter", "wg_ghetto_at" } masquerade
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -111,8 +111,8 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
bindMounts = {
|
bindMounts = {
|
||||||
"${security.acme.certs.${domain}.directory}" = {
|
"/var/lib/acme/gitea/" = {
|
||||||
hostPath = "/var/lib/acme/gitea/";
|
hostPath = "${security.acme.certs.${domain}.directory}";
|
||||||
isReadOnly = true;
|
isReadOnly = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user