来自外部网络的远程桌面 [英] Remote Desktop From Outside Network

查看:85
本文介绍了来自外部网络的远程桌面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

明天我要进行一次学校演示,因为我没有笔记本电脑,因此需要使用远程桌面访问家用计算机上的数据库进行演示。我可以使用从ipconfig获得的IP地址从以太网上的另一台计算机访问桌面,但这是问题所在:

I've got a school demo tomorrow and because I don't have a laptop I need to use remote desktop to access a DB on my home machine for the demo. I can access my desktop from another machine on my ethernet by using the IP address I get from ipconfig, but here's the problem:

从ipconfig获得的家用计算机的地址为格式为192.168.1.XXX
,其中我的子网掩码为256.256.256.0

The address of my home machine from ipconfig is of the form 192.168.1.XXX where my subnet mask is 256.256.256.0

我担心一旦我不在自己的计算机上以太网192.168.1.XXX地址将不再起作用,因为我认为该地址是相对于我的以太网的。有什么方法可以找出我计算机的公共IP地址,或者我只是偏执狂而我拥有的地址就是公共地址?

I'm worried that once I'm on a machine outside of my ethernet the 192.168.1.XXX address will no longer work because I think that that address is relative to my ethernet. Is there a way I can find out my computer's public IP address or am I just being paranoid and the address I have is the public one?

非常感谢您的帮助!

推荐答案

您正确地认为192.168.1.xxx无法在您的学校网络中工作,或者至少不会起作用指向您的家庭网络。那是一个仅限本地的地址。

You are correct that 192.168.1.xxx will not work from your school's network, or at least it won't point to your home network. That is a local-only address.

您可以做的是在家用路由器上设置端口转发,以将远程桌面数据包转发到家里的计算机上。 192.168.1.2。

What you can do is set up port-forwarding on your home router to forward remote-desktop packets to your machine at home, say 192.168.1.2.

所以您需要的是:

a)路由器的公共IP ;您可以访问那些我的IP是什么网站之一,也可以使用traceroute / tracert进行查看。

a) the public IP of your router; you can either go to one of those "what is my IP" websites to find it, or use traceroute/tracert to see it.

b)在以下位置配置端口转发将您的家庭路由器连接到192.168.1.2(要远程访问其上带有DB的计算机)。不确定确切的端口,但是通常路由器会带有一个命名的选项,例如 Remote Desktop,以便为您解决。
-为此,通常可以转到 http://192.168.1.xxx (或不管您路由器的本地IP是什么),输入管理员凭据,然后从那里配置端口转发。

b) configure port-forwarding on your home router to 192.168.1.2 (the machine with the DB on it that you want to remote in to). Not sure of the exact port but usually the router will have a named option like "Remote Desktop" to figure it out for you. - to do this, you can usually go to http://192.168.1.xxx (or whatever your router's local IP is), enter admin credentials, and configure the port-forwarding from there.

然后在上学时,您将远程访问家庭路由器的公共IP。 ,一切都应该正常进行。祝你好运!

Then when at school, you would remote to your home router's public IP, and everything should just work. Good luck!

这篇关于来自外部网络的远程桌面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆