my2492

用隧道中转和用 iptables 规则中转哪个效果更好?

  •  
  •   my2492 · Mar 15, 2020 via iPhone · 5960 views
    This topic created in 2434 days ago, the information mentioned may be changed or developed.
    就是一台国内 vps,一台海外 vps,用隧道类协议打通内网,然后转发到海外的那台的内网 ip。买了别人建好的隧道,是移动 vps 和 hgc 的 vps 打通的内网,现在这个点都能跑满百兆
    我之前自己用的一般就是普通的中转,没这么好的效果,不知道是隧道在同样线路质量下本来就更快,还是商家采用了其他方案优化?
    12 replies  •  2020-03-16 17:56:09 +08:00
    alect
    alect
    Mar 15, 2020
    1
    商家用了啥好的线路了吧,随意猜个阿里企业内网
    my2492
    my2492
    OP
    Mar 15, 2020 via iPhone
    2
    @alect 公网打的隧道,阿里企业内网什么价格我又不是不知道
    alect
    alect
    Mar 15, 2020
    3
    @my2492 #2 移动和 hgc 之间网络还行
    40huo
    40huo
    Mar 15, 2020 via Android
    4
    这需要你自己也买一台移动和一台 hgc 试一下,我猜 iptables 也能跑满
    my2492
    my2492
    OP
    Mar 15, 2020 via iPhone❤️1
    5
    @40huo 隧道貌似用的 udp
    40huo
    40huo
    Mar 15, 2020 via Android
    6
    @my2492 不一定,wireguard 和 zerotier 也叫隧道,gre 也叫隧道,看他用的什么技术了
    hadoop
    hadoop
    Mar 15, 2020
    7
    啥隧道技术比较好,求科普
    mnihyc
    mnihyc
    Mar 15, 2020
    8
    话说 bbr 可以加速 iptables 中转?
    LGA1150
    LGA1150
    Mar 15, 2020 via Android
    9
    @mnihyc 不能
    my2492
    my2492
    OP
    Mar 15, 2020 via iPhone
    10
    @mnihyc 能,中转那台装上 bbr 就能加速所有 tcp 中转速度,当然两个全装可能更好
    yulihao
    yulihao
    Mar 16, 2020
    11
    Traceroute to China, Hongkong HGC (TCP Mode, Max 50 Hop)
    ============================================================
    traceroute to 218.188.104.30 (218.188.104.30), 50 hops max, 60 byte packets
    1 *
    2 *
    3 192.168.12.233 4.04 ms * LAN Address
    4 120.241.50.129 2.58 ms AS56040 China Guangdong Guangzhou ChinaMobile
    5 120.196.198.181 4.03 ms AS56040 China Guangdong Guangzhou ChinaMobile
    6 221.183.13.117 5.67 ms AS9808 China Guangdong Guangzhou ChinaMobile
    7 221.176.22.106 3.04 ms AS9808 China Guangdong Guangzhou ChinaMobile
    8 *
    9 *
    10 *
    11 *
    12 *
    13 218.189.5.56 32.45 ms AS9304 China Hong Kong hgc.com.hk
    14 218.188.104.30 71.27 ms AS9304 China Hong Kong hgc.com.hk
    DGideas
    DGideas
    Mar 16, 2020
    12
    @my2492 这个说法不准确,得看是什么协议搭建的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2124 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 01:48 · PVG 09:48 · LAX 17:48 · JFK 20:48
    ♥ Do have faith in what you're doing.