From 9216e32dcf26a7775f231c874b05fa29426fb69d Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 15 Feb 2024 11:57:17 +0530 Subject: hosts/kay/sshfwd: only allow listening on port 2222 --- hosts/kay/modules/sshfwd.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'hosts/kay/modules') diff --git a/hosts/kay/modules/sshfwd.nix b/hosts/kay/modules/sshfwd.nix index a25854d..d70b893 100644 --- a/hosts/kay/modules/sshfwd.nix +++ b/hosts/kay/modules/sshfwd.nix @@ -24,5 +24,6 @@ in { AllowTcpForwarding remote GatewayPorts clientspecified + PermitListen *:2222 ''; } -- cgit v1.2.3