Skip to content

Instantly share code, notes, and snippets.

@Nukem9
Created November 5, 2019 09:34
Show Gist options
  • Save Nukem9/05898c9dae17c49a37de3870c4bd50c3 to your computer and use it in GitHub Desktop.
Save Nukem9/05898c9dae17c49a37de3870c4bd50c3 to your computer and use it in GitHub Desktop.
netsh advfirewall firewall add rule name="D2MatchmakingBlock" protocol=UDP dir=in localport=0-52,54-1899,1901-3073,3075-65535 action=block program="E:\Program Files (x86)\Steam\steamapps\common\Destiny 2\destiny2.exe" enable=yes
netsh advfirewall firewall add rule name="D2MatchmakingBlock" protocol=UDP dir=out remoteport=0-52,54-1899,1901-3073,3075-65535 action=block program="E:\Program Files (x86)\Steam\steamapps\common\Destiny 2\destiny2.exe" enable=yes
REM remove "REM" from the next 2 lines to delete the rules
REM netsh advfirewall firewall delete rule name="D2MatchmakingBlock" dir=in
REM netsh advfirewall firewall delete rule name="D2MatchmakingBlock" dir=out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment