yggdrasil: listen, add port forwarding on upstream4+upstream1

This commit is contained in:
Astro 2022-01-14 19:22:11 +01:00
parent 4ed6a4f1d3
commit 64ee9d06bb
2 changed files with 16 additions and 0 deletions

View File

@ -85,6 +85,12 @@ in
reflect = true;
sourcePort = 30000;
}
{
destination = config.site.net.core.hosts4.yggdrasil;
proto = "tcp";
reflect = true;
sourcePort = 1;
}
];
interfaces = {
core = {
@ -369,6 +375,12 @@ in
reflect = true;
sourcePort = 45000;
}
{
destination = config.site.net.core.hosts4.yggdrasil;
proto = "tcp";
reflect = true;
sourcePort = 1;
}
];
interfaces = {
core = {

View File

@ -44,6 +44,10 @@ in lib.mkIf cfg.enable {
# poland
"tls://[2001:41d0:601:1100::cf2]:11129"
];
Listen = [
"tcp://0.0.0.0:1"
"tcp://[::]:1"
];
NodeInfo = {
# This information is visible to the network.
name = "y.c3d2.de";