Giter Site home page Giter Site logo

Docker模式下丢包高,网络掉连接。-【结论:换 IP 的时候会使网络不稳定的,因为机制是不停的停止和重启 WARP】 about warp_unlock HOT 8 CLOSED

fscarmen avatar fscarmen commented on July 22, 2024
Docker模式下丢包高,网络掉连接。-【结论:换 IP 的时候会使网络不稳定的,因为机制是不停的停止和重启 WARP】

from warp_unlock.

Comments (8)

qunerCloud avatar qunerCloud commented on July 22, 2024

还要docker restart 一下容器才行~

from warp_unlock.

fscarmen avatar fscarmen commented on July 22, 2024

这个要花点时间看看,我极少用docker的,之前做出来也是实验之用的。

from warp_unlock.

fscarmen avatar fscarmen commented on July 22, 2024

我初步试了一下还好,我的测试环境是
VPS: 甲骨文凤凰城 AMD64 的机器,1C1G,加了4G swap,官方ubuntu 20.04 系统没有改,安装 mack-a , xray 1.6.0 内核,使用 VLESS + ws + tls
终端: macOS + clash for windows + clash mete (内核)
使用都是正常的,探针的占用你看看

image

image

image

image

image

image

image

from warp_unlock.

qunerCloud avatar qunerCloud commented on July 22, 2024

好的,那我自己再检查一下我的网络环境。辛苦了

from warp_unlock.

fscarmen avatar fscarmen commented on July 22, 2024

我想了一下,有可能是遇到正在换 IP,所以 wireguard 不停的启动和停止导致。
你试试在不稳定的时候看看系统是否有正在刷 IP 的进程,有显示即代表正在运行中

pgrep -laf warp_unlock.sh

from warp_unlock.

qunerCloud avatar qunerCloud commented on July 22, 2024

我想了一下,有可能是遇到正在换 IP,所以 wireguard 不停的启动和停止导致。 你试试在不稳定的时候看看系统是否有正在刷 IP 的进程,有显示即代表正在运行中

pgrep -laf warp_unlock.sh

确实,刚才Ping了Google,发现规律性地断流5-7秒一次,等到显示Netfilx可用后就稳定下来了。
有没有可能给Docker内也启用iptables从而避免全局代理换IP时的断流悲剧(;´д`)ゞ
不过现在IP稳定下来就基本好了。

from warp_unlock.

fscarmen avatar fscarmen commented on July 22, 2024

我想了一下,有可能是遇到正在换 IP,所以 wireguard 不停的启动和停止导致。 你试试在不稳定的时候看看系统是否有正在刷 IP 的进程,有显示即代表正在运行中

pgrep -laf warp_unlock.sh

确实,刚才Ping了Google,发现规律性地断流5-7秒一次,等到显示Netfilx可用后就稳定下来了。 有没有可能给Docker内也启用iptables从而避免全局代理换IP时的断流悲剧(;´д`)ゞ 不过现在IP稳定下来就基本好了。

你把 google 也分流到docker 里了吗?我没有这样做,配置文件上面有了,我试了一下,不影响宿主机的。即是只把奈飞,油管和ip.gs放到docker提供的warp socks5里出局,其余全部在宿主机原生的ip出局。谷歌没有像你所说的断。
如果你既想解锁奈飞,又想用于谷歌,就会出现你说的情况。
image

from warp_unlock.

fscarmen avatar fscarmen commented on July 22, 2024

有没有可能给Docker内也启用iptables从而避免全局代理换IP时的断流悲剧

好像没有用啊,你把不需要用warp的分流到宿主机,把需要用warp的分流到docker里。如果把谷歌放在容器里,又想通过iptables排除的话,你还不如分流到宿主机?
同时iptables 都是一些ip-cidr,不能用域名的,做分流很麻烦的。

from warp_unlock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.