V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Themyth
V2EX  ›  宽带症候群

为什么 warp 貌似不能路由 ipip/gre 的数据包?

  •  
  •   Themyth · 221 天前 · 1282 次点击
    这是一个创建于 221 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如果说 warp 是基于 wireguard 的话,那 wireguard 应该是能路由 ipip/gre 数据包的。 但是经过测试发现 warp 无论如何都无法传输 ipip 或者 gre 数据包。 想知道是因为 cloudflare 做了限制吗?还是我自己操作有问题…… 或者有什么办法让 warp 传输 ipip/gre 封装的数据包吗?

    10 条回复    2023-10-08 16:41:08 +08:00
    cq65617875
        1
    cq65617875  
       221 天前
    怀疑是 cf 丢了
    Themyth
        2
    Themyth  
    OP
       221 天前
    @cq65617875 好吧 搞不懂为什么要丢
    evalfun
        3
    evalfun  
       220 天前
    可能是 cf 那边只处理 tcp/udp 报文,但是 ipip 和 gre 都是 ip 报文
    Themyth
        4
    Themyth  
    OP
       220 天前
    @evalfun 好吧 那看来要换条路了
    ericww
        5
    ericww  
       220 天前
    wireguard 是 L3 VPN ,显然是不支持的,可以试试其他 L2 VPN
    Themyth
        6
    Themyth  
    OP
       219 天前
    @ericww 跟这个没有关系的,L3 vpn 照样可以传输 2 层数据的 你可以试试。
    sharo580
        7
    sharo580  
       211 天前
    你这个 wg 内网是可以的,但是 warp 出去涉及到 nat ,就不会 gre 的,nat 可以控制只有 tcp udp
    Themyth
        8
    Themyth  
    OP
       211 天前
    @sharo580 额 没有听太明白……
    Themyth
        9
    Themyth  
    OP
       211 天前
    @sharo580 哦您的意思是 wireguard 自己组建的内网是可以的(对,可以),但是 warp 不行,是吗?是的,那有办法让 warp 的 2 个客户端之间实现传输 gre/ipip 数据包吗
    sharo580
        10
    sharo580  
       201 天前
    @Themyth 你这种直接用 wireguard 就好了,不需要 warp 了!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2929 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:37 · PVG 15:37 · LAX 00:37 · JFK 03:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.