New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
通过代理(跳板)解析域名 #2331
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
新建 SSH 会话,Host 设为 host-name.internal ,这是一个内部DNS能够解析的域名。
然后设置 Proxy ,使用另一个 SSH 会话 (jumpbox) 作为代理(跳板)。
连接后提示
如果我把 host-name.internal 会话的 host 修改成 IP 地址,则可以成功连接。
如果我先连接 jumpbox 会话,在 jumpbox 会话中再执行 ssh [email protected] ,也可以成功连接。
所以诊断出 WindTerm 没有通过代理来解析域名,而是先在本地解析域名,再通过代理建立连接。
作为对比,同样的使用方式,在 SecureCRT 中一切正常, 可以使用 jumpbox 会话作为 Firewall 来连接 host-name.internal 主机。(SecureCRT 把代理叫做 Firewall)
The text was updated successfully, but these errors were encountered: