Comments (4)
- 为docker启用IPv6支持: https://docs.docker.com/config/daemon/ipv6/
启动ss-server时将SERVER_ADDRS
设置为::
。- 启动ss-server时将
SERVER_ADDR
设置为::0
。
from docker-shadowsocks-libev.
以上实测无效。
1、参数名应为SERVER_ADDR(文档里面参数名也不正确)。
2、参数名正确后确实可以了,但是只会监听IPv6端口,而不会监听IPv4端口。
最后没有去配置SERVER_ADDR参数,而是通过在ARGS参数里面添加 -s ::0 来解决以上问题,亲测有效。
from docker-shadowsocks-libev.
以上实测无效。
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.
感谢指正,文档已修复。
from docker-shadowsocks-libev.
Related Issues (20)
- Merge vulnerability fix for ShadowSocks HOT 1
- failed to read cert > permission denied HOT 2
- 端口号必须是443端口么 HOT 11
- will kcptun support? HOT 1
- How to get QR Code? HOT 1
- Help to enable v2ray-plugin HOT 1
- There is no way to make WhatsApp voice calls on version 5.1.7 HOT 1
- Randomly unable to resolve cloudflare DNS "1dot0dot0dot1.clouldflare-dns.com" HOT 1
- V2Ray plug in is broken? HOT 1
- How to avoid ss port be blocked? Occurred twice in 1 month. How to make modified port in docker-compose file take effect? HOT 5
- Connection doesn't allow setting of receive buffer size. HOT 8
- The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)... HOT 2
- 不工作 HOT 1
- 有没有办法使用自签名证书? HOT 1
- Docker compose mount volume is empty HOT 7
- 能否/如何规范开启ipv6支持,自己开后,变得不稳定 HOT 1
- 如何填写DNS_ADDRS 走本机默认DNS? HOT 1
- ERROR: connect: Address not available HOT 1
- Question: which SSR client and v2ray plug-in on Android is compatible with this? HOT 1
- /root/.acme.sh HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-shadowsocks-libev.