summary refs log tree commit diff
path: root/modules/tunnel/ingress.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tunnel/ingress.nix')
-rw-r--r--modules/tunnel/ingress.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tunnel/ingress.nix b/modules/tunnel/ingress.nix
index f609f3d..a62e931 100644
--- a/modules/tunnel/ingress.nix
+++ b/modules/tunnel/ingress.nix
@@ -27,7 +27,7 @@ let
   egressName = "tunnel-egress0";
   egressAddress = "10.123.255.1/16"; # /16 encompasses all possible subnet addresses
 
-  egressHost = name: "${name}.rnrd.eu";
+  egressHost = destination: "${destination}.tunnel.rnrd.eu"; # e.g. "finland.tunnel.rnrd.eu"
 
   mtu = 1400;
 in
@@ -161,7 +161,7 @@ in
           type = "vless";
           flow = "xtls-rprx-vision";
 
-          server = egressHost path.egress;
+          server = egressHost path.destination;
           server_port = 443;
 
           tag = outboundName path.egress;