summaryrefslogtreecommitdiff
path: root/hosts/kay
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-02-15 11:57:17 +0530
committersinanmohd <sinan@sinanmohd.com>2024-02-15 12:04:22 +0530
commit9216e32dcf26a7775f231c874b05fa29426fb69d (patch)
tree0f32d6ed93e8c8bf4829d43876ec6c59f384977e /hosts/kay
parentc78356f68fe52a55907d71ee8bbaea5dbe1c5816 (diff)
hosts/kay/sshfwd: only allow listening on port 2222
Diffstat (limited to 'hosts/kay')
-rw-r--r--hosts/kay/modules/sshfwd.nix1
1 files changed, 1 insertions, 0 deletions
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
'';
}