Update firststeps-disable_ipv6.md

Dieser Commit ist enthalten in:
André Peters 2020-04-10 21:45:13 +02:00 committet von GitHub
Ursprung 425ac62997
Commit b2af069147
Es konnte kein GPG-SchlĂĽssel zu dieser Signatur gefunden werden
GPG-SchlĂĽssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -8,6 +8,8 @@ and implement your changes to the service there. Unfortunately, this right now o
To disable IPv6 on the mailcow network, open docker-compose.yml with your favourite text editor and search for the network section (it's near the bottom of the file).
**1.** Modify docker-compose.yml
Change `enable_ipv6: true` to `enable_ipv6: false`:
```
@ -18,6 +20,8 @@ networks:
[...]
```
**2.** Disable ipv6nat-mailcow
To disable the ipv6nat-mailcow container as well, go to your mailcow directory and create a new file called "docker-compose.override.yml":
**NOTE:** If you already have an override file, of course don't recreate it, but merge the lines below into your existing one accordingly!
@ -45,3 +49,18 @@ docker-compose down
docker-compose up -d
```
**3.** Disable IPv6 in unbound-mailcow
Edit `data/conf/unbound/unbound.conf` and set `do-ip6` to "no":
```
server:
...
do-ip6: no
```
Restart Unbound:
```
docker-compose restart unbound-mailcow
```