通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
ae3803
V2EX  ›  VPS

请问服务器如何中转 TCP 流量?

  •  
  •   ae3803 · May 24, 2019 · 1634 views
    This topic created in 2572 days ago, the information mentioned may be changed or developed.

    系统:Debian9 用 Vultr 东京区搭建了 MC 游戏服务器( TCP 协议) 直连延迟和丢包都太高,想用阿里云的香港服务器来中转 方案大概是这样:国内——阿里云香港服务器—— Vultr 东京服务器 请问我该怎么中转,有没有具体的方法? 不想用 iptables,太麻烦...

    Supplement 1  ·  Jun 13, 2019
    我能不能用 A 中转服务器(端口 25565)中转 B 服务器的端口(端口 30525,没有服务器控制权)?
    9 replies    2019-06-13 23:01:50 +08:00
    DGideas
        1
    DGideas  
       May 24, 2019
    ae3803
        2
    ae3803  
    OP
       May 24, 2019
    frp 不是内网穿透的吗?
    tvirus
        3
    tvirus  
       May 24, 2019
    haproxy, socat 或 nginx
    DGideas
        4
    DGideas  
       May 25, 2019
    @ae3803 拿阿里云香港做中继啊,反向代理 Vultr 的我的世界服务器端口
    ae3803
        5
    ae3803  
    OP
       May 25, 2019
    哦,frps 放阿里云香港还是放 Vultr 服务器?
    DGideas
        6
    DGideas  
       May 25, 2019
    @ae3803 既然你提到国内——阿里云香港服务器—— Vultr 东京服务器 ,那么 frps 放在香港服务器上是合适的
    DGideas
        7
    DGideas  
       May 25, 2019
    回复时候记得 @我,要不我看不到的
    ae3803
        8
    ae3803  
    OP
       May 25, 2019
    嗯,谢谢了,已经弄好了!
    ae3803
        9
    ae3803  
    OP
       Jun 13, 2019
    另外再问下我能不能用 A 中转服务器(端口 25565)中转 B 服务器的端口(端口 30525,没有服务器控制权)?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3534 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 10:45 · PVG 18:45 · LAX 03:45 · JFK 06:45
    ♥ Do have faith in what you're doing.