From 3295cbe265a0b48daa6cea93d8016097e120ea28 Mon Sep 17 00:00:00 2001 From: Florian Schlegel Date: Fri, 15 Apr 2022 01:17:45 +0200 Subject: [PATCH] further clarify the what "*" does in permitlisten --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0fae8e1..3fb24f7 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ The `permitopen` and `permitlisten` options can be used multiple times in a row. * `port` is the port on the server that you want to open locally or towards the Internet * `host` specifies on which interface the server should listen for incoming connections. You should either specify `localhost` or `*` * `localhost` binds the port to the loopback device and can only be used by processes on the same server - * `*` allows access on all ports (e.g. from the Internet) if `GatewayPorts clientspecified` is set in `/etc/ssh/sshd_config` + * `*` allows access from everywhere (e.g. from the Internet, if your firewall allows that) if `GatewayPorts clientspecified` is set in `/etc/ssh/sshd_config` * `permitopen="host:port"` * `host` is the hostname or IP address of the server that your server should be allowed to connect to * `port` is the port number on the `host` that will be forwarded to the client