I have a working wireguard VPN setup with
[Interface]
...
# deactivate IPv6 on start of tunnel
PostUp = sysctl -w net.ipv6.conf.all.disable_ipv6=1
PostUp = sysctl -w net.ipv6.conf.default.disable_ipv6=1
# reactivate IPv6 on stop of tunnel
PostDown = sysctl -w net.ipv6.conf.all.disable_ipv6=0
PostDown = sysctl -w net.ipv6.conf.default.disable_ipv6=0
...
Starting it with wg-quick up ./wg0.conf works just fine. But imporing it through the networks GUI seems to loose the postup commands. Then the IPv6 traffic does not go trough the VPN (I learned a bit shocked). Is this known and intended? Is there a way to set postup in the GUI?