From 174e0551c856b6d9e31a99ec91e5efa507c5aed6 Mon Sep 17 00:00:00 2001 From: tim Date: Mon, 4 Apr 2022 06:00:58 +0000 Subject: [PATCH] Update 'sshd_config' --- sshd_config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sshd_config b/sshd_config index 93932f8..4a1032c 100644 --- a/sshd_config +++ b/sshd_config @@ -1,2 +1,4 @@ # Allow remote access to -R remote port forwards -GatewayPorts yes \ No newline at end of file +GatewayPorts yes +# Optionally add it under "Match User " to restrict who can do this. +# Another option is "GatewayPorts clientspecified", but I haven't persionally tested that. \ No newline at end of file