• 请不要在回答技术问题时复制粘贴 AI 生成的内容
hustlzp
V2EX  ›  程序员

[请教] 如何访问一个无公网 IP 的 Linux 服务器?

  •  
  •   hustlzp · Feb 9, 2015 · 8163 views
    This topic created in 4300 days ago, the information mentioned may be changed or developed.
    RT.

    Linux 服务器在异地,没有公网 IP,但是服务器已经联到 Internet 了。

    用怎样的方式才能访问到此服务器?需要借助一个有公网 IP 的 Server(比如买一台阿里云 VPS)做中介吗?

    小白求教了..
    Supplement 1  ·  Feb 9, 2015
    http://serverfault.com/questions/319051/reaching-a-linux-server-with-a-private-ip-without-vpn

    用端口转发实现了在本地 ssh 到异地的 Linux 服务器。
    6 replies  •  2015-02-09 15:44:43 +08:00
    Eleutherios
    Eleutherios
    Feb 9, 2015 via iPhone❤️1
    2
    服务器ssh连接vps(有公网IP的),开端口转发
    582033
    582033
    Feb 9, 2015❤️1
    3
    ngrok
    SSH反向链接
    serious198706
    serious198706
    Feb 9, 2015❤️1
    4
    在路由上做端口映射喽。
    cncaihua
    cncaihua
    Feb 9, 2015❤️1
    5
    n2n vpn可以为你解忧
    heiybb
    heiybb
    Feb 9, 2015❤️1
    6
    ngrok +1
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2812 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 10:26 · PVG 18:26 · LAX 02:26 · JFK 05:26
    ♥ Do have faith in what you're doing.