V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
c4f36e5766583218
V2EX  ›  互联网

如何代理通过某个网络适配器的流量? Windows

  •  
  •   c4f36e5766583218 · Jan 26, 2019 · 2595 views
    This topic created in 2647 days ago, the information mentioned may be changed or developed.

    Windows: ipconfig, network adapter

    MacOS: ifconfig, network interface

    云服务器 A,ipconfig 里都是些内部 ip,一个程序配置 bindIp 提供给其它电脑访问(配置 0.0.0.0 是选择 ipconfig 里的其中一个内部 ip ),所以我用了 zerotier one 分配了个新的适配器(ip-1),然后程序配置 bind 到 ip-1

    云服务器 B,zerotier one 分配了个新的适配器(ip-2)

    所以云服务器 B 可以通过访问 ip-1 访问到服务器 A 里的程序,但如何让它通过代理( http/socks)访问

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   858 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 21:45 · PVG 05:45 · LAX 14:45 · JFK 17:45
    ♥ Do have faith in what you're doing.