GithubHelp home page GithubHelp logo

Comments (4)

Acris avatar Acris commented on June 30, 2024

from docker-shadowsocks-libev.

zhuwenbing avatar zhuwenbing commented on June 30, 2024

以上实测无效。
1、参数名应为SERVER_ADDR(文档里面参数名也不正确)。
2、参数名正确后确实可以了,但是只会监听IPv6端口,而不会监听IPv4端口。
最后没有去配置SERVER_ADDR参数,而是通过在ARGS参数里面添加 -s ::0 来解决以上问题,亲测有效。

from docker-shadowsocks-libev.

aria001 avatar aria001 commented on June 30, 2024

以上实测无效。
1、参数名应为SERVER_ADDR(文档里面参数名也不正确)。
2、参数名正确后确实可以了,但是只会监听IPv6端口,而不会监听IPv4端口。
最后没有去配置SERVER_ADDR参数,而是通过在ARGS参数里面添加 -s ::0 来解决以上问题,亲测有效。

关于ipv6的支持,实际上docker 20.10.2以上支持了ip6tables,为docker启用ipv6是很简单的,只需要编辑 /etc/docker/daemon.json文件,添加以下内容:
{
"ipv6": true,
"fixed-cidr-v6": "fd00::/80",
"experimental": true,
"ip6tables": true
}
随后重启docker engine就行了

实际上在ARGS里加上-s参数与使用SERVER_ADDR应当是一样的,本质上都是ss-server的-s参数。事实上我之前也没有发现参数名是错的,也就是说,-s参数应当是使用了默认的0.0.0.0,同样能够正常使用ipv6

from docker-shadowsocks-libev.

Acris avatar Acris commented on June 30, 2024

感谢指正,文档已修复。

from docker-shadowsocks-libev.

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.