From a57d40ff17838c3d6a906f18ab12bfc136af39a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix-Antoine=20Fortin?= Date: Tue, 17 Dec 2024 13:23:08 -0500 Subject: [PATCH] Add firewall rule accept jupyter_server --- site/profile/manifests/jupyterhub.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/site/profile/manifests/jupyterhub.pp b/site/profile/manifests/jupyterhub.pp index 54be4dac1..d6131f87a 100644 --- a/site/profile/manifests/jupyterhub.pp +++ b/site/profile/manifests/jupyterhub.pp @@ -43,6 +43,9 @@ Class['profile::software_stack'] -> Class['jupyterhub::kernel::venv'] } } + nftables::rule { 'default_in-jupyter_server': + content => "tcp dport 32768-60999 accept comment \"Accept jupyter_server\"", + } } class profile::jupyterhub::hub::keytab {