Destiny 2 Solo Script
Script to enable solo play within Destiny 2 PC by blocking multiplayer ports within the firewall.
Works with both Steam and Windows versions of the game as of The Witch Queen
DLC.
Must be enabled whilst in orbit already
Run the script within Powershell/Windows Terminal to enable, and hit Enter
to disable and remove the firewall rules.
destiny-2-solo.ps1
Download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }
New-NetFirewallRule -DisplayName "Destiny2-Solo-1" -Direction Outbound -LocalPort 27000-27100 -Protocol TCP -Action Block
New-NetFirewallRule -DisplayName "Destiny2-Solo-2" -Direction Outbound -LocalPort 27000-27100 -Protocol UDP -Action Block
New-NetFirewallRule -DisplayName "Destiny2-Solo-3" -Direction Inbound -LocalPort 27000-27100 -Protocol TCP -Action Block
New-NetFirewallRule -DisplayName "Destiny2-Solo-4" -Direction Inbound -LocalPort 27000-27100 -Protocol UDP -Action Block
Write-Host "Destiny 2 Solo Enabled"
Read-Host
Remove-NetFirewallRule -DisplayName "Destiny2-Solo-1"
Remove-NetFirewallRule -DisplayName "Destiny2-Solo-2"
Remove-NetFirewallRule -DisplayName "Destiny2-Solo-3"
Remove-NetFirewallRule -DisplayName "Destiny2-Solo-4"