如何在我的ISP路由器后面的ACCCESS点路由器后面访问服务器?

发布于 2025-02-10 00:58:53 字数 400 浏览 2 评论 0原文

如果我直接将PC连接到我提供的ISP路由器(下面的第1点),则可以成功地进入服务器,并使用端口转发等。

但是,我需要先将另一个路由器作为接入点连接,然后将我的服务器PC连接到该路由器路由器(下面的第2点)。

因此,连接从

1. ISP router - LAN cable - Server PC

以下方式变化:

2. ISP router - LAN cable - access point router - LAN cable - Server PC.

我只是在上面的第二种情况下将LAN电缆插入LAN电缆,而Internet等则可以在我的所有PC(包括服务器PC)上工作。我尝试更改IPv4设置,两个路由器上的端口转发等。

I can successfully SSH into my server if I connect that PC directly to my ISP provided router (point 1 below), with port forwarding etc.

However I need to connect another router as an access point first, and then connect my server PC to that router(point 2 below).

Thus the connection changes from:

1. ISP router - LAN cable - Server PC

TO:

2. ISP router - LAN cable - access point router - LAN cable - Server PC.

I just plug the LAN cables in as in the second scenario above, and internet etc works on all my PC's, including the Server PC. I have tried changing IPv4 settings, port forwarding on both routers etc.

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

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

发布评论

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

评论(1

仅此而已 2025-02-17 00:58:53

您要么:

  • 从ISP路由器向前(1)到您的AP路由器到AP路由器,然后从AP路由器到SEVER PC(固定IP)向前(2)
  • ,或者您通知由AP路由器创建的子网的ISP路由器,将子网添加到ISP的路由表中(如果您访问了路由表)。
  • 或者,除非您确实需要AP充当路由器,否则请检查是否可以将其配置为常规开关,以便整个网络将是一个子网。这样做,您可以坚持初始设置。

You either:

  • port forward (1) from your ISP router to your AP router and port forward (2) from your AP router to your sever PC (fixed IP)
  • or you inform the ISP router of the subnet created by the AP router, by adding the subnet to the ISP's routing table (if you've access to the routing table).
  • Or, unless you really need the AP to act as a router, check if you can configure it as a regular switch so the whole network will be one subnet. Doing so, you can stick to your initial setup.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文