使用 RDP 端口作为流量或 kubectl 命令的代理

发布于 2025-01-14 19:38:32 字数 348 浏览 2 评论 0原文

我在某些客户端访问方面遇到问题。我有我的工作机器 - A 站 - 其中有 kubectl、helm、terraform 等。

客户端已在自己的网络中创建了 VM 来进行工作。只有这些虚拟机才能访问云资源,因为其 IP 范围已列入白名单。 - 这是 B 站

我只能通过 RDP 端口访问 B 站。就是这样,我没有权限创建\启动,甚至没有查看防火墙允许的内容。

有没有办法使用我的 RDP 端口访问 B 站,以便能够代理从 A 站到 B 站然后到云的流量(或至少 kubectl 命令)?

安装任何软件很可能都是不行的。我将不得不请求开放新端口,但这不会发生。 SSH 端口可能是例外,但可能性稍好一些。

I'm having an issue with some client access. I have my working machine - Station A - where I have kubectl, helm, terraform, etc.

The client have created VM in their own network for the work. Only these VMs have access to cloud resources as its IP range whitelisted. - This is Station B

All I have is access to Station B through RDP port. And That is it, I don't have permissions to create\start or even see what is allowed in firewall.

Is there a way I can use my RDP port access to Station B to be able to proxy traffic ( or at least kubectl commands) From Station A to Station B and then to Cloud?

Installing any software is most likely a no-go. I will have to make requests for the new ports to be opened, which will not happen. The exception could be SSH port, but only slightly better chances.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时光瘦了 2025-01-21 19:38:32

据我所知,我 99.9% 确定您不能使用 RDP,因为您可以使用 ssh 来隧道流量。另外,由于您无权访问 k8s 集群,我认为这是系统管理员的意图,因此您应该联系系统管理员来为您提供访问权限。

From my knowledge i am 99.9% sure you can not use RDP as you would use ssh to tunnel traffic. Also as you do not have access to the k8s cluster, i think that was intended by the sysadmin, therefore you should contact a sysadmin to provide you access instead.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文