add nat
This commit is contained in:
parent
38d5a26e78
commit
70fd15c5dd
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue