shell-things/etc/systemd/system/service.d/restore-ipv6.conf

8 lines
400 B
Plaintext
Raw Normal View History

2024-03-29 06:58:44 +01:00
# nordvpnd disables IPv6 for all interfaces and thus breaks Yggdrasil. This
# override gives yggdrasil.service two chances to ensure IPv6 is enabled.
[Service]
ExecStartPre=sysctl net.ipv6.conf.all.disable_ipv6=0
ExecStartPost=sysctl net.ipv6.conf.all.disable_ipv6=0
# I cannot use this as the interface won't exist until Yggdrasil starts
#ExecStartPost=sysctl net.ipv6.conf.yggdrasil.disable_ipv6=0