Skip to content

Commit

Permalink
fix(mullvad): update IPv6 setup steps
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Feb 7, 2024
1 parent cdefd09 commit 04448f6
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions setup/providers/mullvad.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,28 +62,7 @@ services:

## IPv6 tunneling with OpenVPN

By default, IPv6 is just blocked by the firewall in gluetun.

If you want to tunnel IPv6 with Mullvad using OpenVPN:

1. Ensure your Kernel has IPv6

```sh
lsmod | grep ipv6
```

Should show something.
1. Set the environment variable `OPENVPN_IPV6` to `on`
1. Enable IPv6 in Docker for this container:
- For a Docker run command, add the flag `--sysctl net.ipv6.conf.all.disable_ipv6=0` (or `--sysctl net.ipv6.conf.all.disable=0` on some systems)
- For docker-compose.yml files, add this to your `gluetun` config block:

```yml
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
```

1. Start the container
Mullvad supports IPv6 addresseses for their OpenVPN servers, and these should automatically be used at random if your container setup has IPv6 enabled. See the [IPv6 documentation](../advanced/ipv6.md) for more information.

## Servers

Expand Down

0 comments on commit 04448f6

Please sign in to comment.