From 4634b941998c2b369622f0feb460be01416d78eb Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 18 Oct 2021 01:21:28 +0200 Subject: [PATCH] upstream4: add forwardPorts for jabber --- nix/lib/config/legacy.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/nix/lib/config/legacy.nix b/nix/lib/config/legacy.nix index 0b1990e..5ad9963 100644 --- a/nix/lib/config/legacy.nix +++ b/nix/lib/config/legacy.nix @@ -272,6 +272,21 @@ in proto = "tcp"; sourcePort = 22; } + { # Jabber C2S + destination = config.site.net.serv.hosts4.jabber; + proto = "tcp"; + sourcePort = 5222; + } + { # Jabber C2S+SSL + destination = config.site.net.serv.hosts4.jabber; + proto = "tcp"; + sourcePort = 5223; + } + { # Jabber S2S + destination = config.site.net.serv.hosts4.jabber; + proto = "tcp"; + sourcePort = 5269; + } { destination = "${config.site.net.serv.hosts4.vps1}:22"; proto = "tcp";