docker-deluge-openvpn icon indicating copy to clipboard operation
docker-deluge-openvpn copied to clipboard

IP6

Open bpvarsity opened this issue 4 years ago • 1 comments

How can I disable ipv6 so this error goes away?

Sun Nov 29 05:48:13 2020 GDG6: remote_host_ipv6=n/a, Sun Nov 29 05:48:13 2020 ROUTE6: default_gateway=UNDEF, Sun Nov 29 05:48:13 2020 TUN/TAP device tun0 opened, Sun Nov 29 05:48:13 2020 TUN/TAP TX queue length set to 100, Sun Nov 29 05:48:13 2020 do_ifconfig, tt->did_ifconfig_ipv6_setup=1, Sun Nov 29 05:48:13 2020 /sbin/ip link set dev tun0 up mtu 1500, Sun Nov 29 05:48:13 2020 /sbin/ip addr add dev tun0 10.11.0.23/16 broadcast 10.11.255.255, Sun Nov 29 05:48:13 2020 /sbin/ip -6 addr add fdda:d0d0:cafe:1197::1015/64 dev tun0, RTNETLINK answers: Permission denied, Sun Nov 29 05:48:13 2020 Linux ip -6 addr add failed: external program exited with error status: 2, Sun Nov 29 05:48:13 2020 Exiting due to fatal error, [cont-finish.d] executing container finish scripts..., [cont-finish.d] done., [s6-finish] waiting for services., [s6-finish] sending all processes the TERM signal., [s6-finish] sending all processes the KILL signal and exiting.,

bpvarsity avatar Nov 29 '20 05:11 bpvarsity

The solution is not to disable IPv6 but rather enable it inside your container by adding the following parameter:

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

nils-hde avatar Jan 02 '21 13:01 nils-hde