2022-04-04 06:06:03 +00:00
|
|
|
# Allow TCP forwarding (is usually enabled by default)
|
|
|
|
AllowTcpForwarding yes
|
|
|
|
# Allow Unix socket forwarding (again, usually enabled be default)
|
|
|
|
AllowStreamLocalForwarding yes
|
|
|
|
|
|
|
|
|
2022-04-04 05:58:01 +00:00
|
|
|
# Allow remote access to -R remote port forwards
|
2022-04-04 06:00:58 +00:00
|
|
|
GatewayPorts yes
|
|
|
|
# Optionally add it under "Match User <user>" to restrict who can do this.
|
|
|
|
# Another option is "GatewayPorts clientspecified", but I haven't persionally tested that.
|