yggdrasil: change listening port to 1337

1/tcp didn't work :(
This commit is contained in:
Astro 2022-01-14 20:37:42 +01:00
parent b50a051904
commit 4bb8fe46e2
2 changed files with 4 additions and 4 deletions

View File

@ -89,7 +89,7 @@ in
destination = config.site.net.core.hosts4.yggdrasil;
proto = "tcp";
reflect = true;
sourcePort = 1;
sourcePort = 1337;
}
];
interfaces = {
@ -379,7 +379,7 @@ in
destination = config.site.net.core.hosts4.yggdrasil;
proto = "tcp";
reflect = true;
sourcePort = 1;
sourcePort = 1337;
}
];
interfaces = {

View File

@ -45,9 +45,9 @@ in lib.mkIf cfg.enable {
"tls://[2001:41d0:601:1100::cf2]:11129"
];
Listen = [
"tcp://[::]:1"
"tcp://[::]:1337"
# Not needed as `sysctl net.ipv6.bindv6only=0` by default
# "tcp://0.0.0.0:1"
# "tcp://0.0.0.0:1337"
];
NodeInfo = {
# This information is visible to the network.