Enable P2P while the device connects via VPN
Supported on: At least Windows Server 2016, Windows 10
Registry
HKLM
SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization Options
DOAllowVPNPeerCaching boolean Description
Specifies whether the device, with an active VPN connection, is allowed to participate in P2P or not.