V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
ungrown
V2EX  ›  问与答

有没有一种虚拟网卡,能让本地程序的端口监听在远程 IP 地址上?

  •  
  •   ungrown · Jun 27, 2023 · 667 views
    This topic created in 1044 days ago, the information mentioned may be changed or developed.
    具体场景是内网穿透端口映射,但我想玩点花的。我把家里的一个 80 端口映射到 VPS ,已经成功了,不过我不想把它映射到高位端口。但是因为 web 服务器已经监听了 0.0.0.0:80 端口,所以就想着能不能用某种虚拟网卡,虚拟出一个私有地址段,比如 10.0.0.0 ,然后把穿透过来的端口,映射在 10.0.0.1:80 上。有没有能实现这种功能的软件?或者有其他的解决方法?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6290 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 02:47 · PVG 10:47 · LAX 19:47 · JFK 22:47
    ♥ Do have faith in what you're doing.