mirror of
https://github.com/chaifeng/ufw-docker.git
synced 2025-07-04 09:36:14 +02:00
Add IPv6 support
This commit is contained in:
parent
6cdd4dfd2f
commit
a9fe32d1fa
2 changed files with 94 additions and 2 deletions
16
README.md
16
README.md
|
@ -193,6 +193,22 @@ Con:
|
|||
|
||||
Doesn't support older versions of Ubuntu, and the command is a bit more complicated. But you can use my script.
|
||||
|
||||
### IPv6
|
||||
|
||||
[Enable IPv6 support](https://forums.docker.com/t/docker-user-chain-for-ip6tables/133961/3) in Docker by specifying ULA range (RFC 4193) in `/etc/docker/daemon.json`
|
||||
```json
|
||||
{
|
||||
"experimental": true,
|
||||
"ipv6": true,
|
||||
"ip6tables": true,
|
||||
"fixed-cidr-v6": "fd00:dead:beef::/48"
|
||||
}
|
||||
```
|
||||
|
||||
Restart Docker
|
||||
```shell
|
||||
systemctl restart docker
|
||||
```
|
||||
|
||||
### Conclusion
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue