From f54fa47fd89db1a25b136ab516bb78bbc3a3692f Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 18 Oct 2021 03:32:50 +0200 Subject: [PATCH] upstream4: add forwardPorts for jabber coturn --- nix/lib/config/legacy.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/nix/lib/config/legacy.nix b/nix/lib/config/legacy.nix index 5ad9963..bfed439 100644 --- a/nix/lib/config/legacy.nix +++ b/nix/lib/config/legacy.nix @@ -287,6 +287,26 @@ in proto = "tcp"; sourcePort = 5269; } + { # Jabber TURN + destination = config.site.net.serv.hosts4.jabber; + proto = "tcp"; + sourcePort = 3478; + } + { # Jabber TURN + destination = config.site.net.serv.hosts4.jabber; + proto = "tcp"; + sourcePort = 3479; + } + { # Jabber TURN + destination = config.site.net.serv.hosts4.jabber; + proto = "udp"; + sourcePort = 3478; + } + { # Jabber TURN + destination = config.site.net.serv.hosts4.jabber; + proto = "udp"; + sourcePort = 3479; + } { destination = "${config.site.net.serv.hosts4.vps1}:22"; proto = "tcp";