Coder Social home page Coder Social logo

Comments (5)

toyo2333 avatar toyo2333 commented on June 19, 2024

我配置了一个v6优先的出站,路由ip6.me走这个出去。

  - name: direct_v6
    type: direct
    direct:
      mode: 64

结果

ERROR TCP error {"addr": "xxxx:xxxxx", "id": "user", "reqAddr": "ip6.me:443", "error": "dial tcp6 [xxxx:xxxx:x:x::xx]:443: connect: cannot assign requested address"}

配置成auto就正常打开,但还是v4地址。

系统上v6的配置是ok的 我用ping -6 google.com 都ok

from hysteria.

cccp6 avatar cccp6 commented on June 19, 2024

My dual stack vps works fine with ipv6.
Check your inbound and listening configs.

from hysteria.

cccp6 avatar cccp6 commented on June 19, 2024

According to your logs, hysteria cannot assign a valid ipv6 address.
Maybe try adding bindIPv6: [your ipv6 addr] in your direct_v6 outbound.

from hysteria.

toyo2333 avatar toyo2333 commented on June 19, 2024

我试了下
脚本部署Xray:正常
Docker部署Xray,但docker的网络模式使用host:正常
Docker部署Hy2,但docker的网络模式使用host:不正常,只能ipv4出站。

所以基本可以确定是docker引起的,但xray那边的host模式的docker正常,hy2无论那种docker网络模式都不行。

from hysteria.

toyo2333 avatar toyo2333 commented on June 19, 2024

结帖。确认是docker的问题。已全部改为host模式了。先这样了。

from hysteria.

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.