From 4bb8fe46e29775d05b159e3e5f921f9182352d1a Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 14 Jan 2022 20:37:42 +0100 Subject: [PATCH] yggdrasil: change listening port to 1337 1/tcp didn't work :( --- config/net/upstream.nix | 4 ++-- nix/nixos-module/container/yggdrasil.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/net/upstream.nix b/config/net/upstream.nix index ae4ba94..5ebf03f 100644 --- a/config/net/upstream.nix +++ b/config/net/upstream.nix @@ -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 = { diff --git a/nix/nixos-module/container/yggdrasil.nix b/nix/nixos-module/container/yggdrasil.nix index 75b334f..83a5543 100644 --- a/nix/nixos-module/container/yggdrasil.nix +++ b/nix/nixos-module/container/yggdrasil.nix @@ -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.