无法将远程端口转发到本地

无法将远程端口转发到本地
ssh -vvv -R ZZZ.ZZZ.ZZZ.ZZ:1000:localhost:80 [email protected] -N

我无法绑定到主要 ZZZ.ZZZ.ZZZ.ZZ IP 地址:

debug1: remote forward failure for: listen ZZZ.ZZZ.ZZZ.ZZ:1000, connect localhost:80
Warning: remote port forwarding failed for listen port 1000
debug1: All remote forwarding requests processed

但对于 127.0.0.1 和远程 LAN 地址,它可以正常工作。您能解释一下这个问题吗?谢谢。

# /etc/ssh/sshd_config
GatewayPorts clientspecified

相关内容