Загрузка данных


New-NetFirewallRule -DisplayName 'p2pgate web (Tailscale)' -Direction Inbound -Action Allow -Protocol TCP -LocalPort 8787 -RemoteAddress 100.64.0.0/10 -Profile Any

powershell -ExecutionPolicy Bypass -File C:\Users\User\p2pgate\app\scripts\register-tasks.ps1

через 1–5 минут:
Get-CimInstance Win32_Process -Filter "Name='python.exe'" | Where-Object CommandLine -like '*p2pgate.collector*' | ForEach-Object { Stop-Process -Id $_.ProcessId -Force }

Stop-ScheduledTask -TaskPath \p2pgate\ -TaskName collector; Start-ScheduledTask -TaskPath \p2pgate\ -TaskName collector