Blog | G5 Cyber Security

Discord & Windows Firewall: Security Risks?

TL;DR

Allowing Discord through your Windows Firewall is generally safe if you trust the application and its source. However, it does create a potential attack surface. We’ll cover how to check permissions, understand risks, and minimise problems.

Understanding the Risks

When you allow an application like Discord through the firewall, you’re telling Windows to let it communicate directly with the internet, bypassing some security checks. This is necessary for Discord to function (voice chat, messaging etc.), but also means:

Checking Existing Firewall Rules

First, let’s see what rules are already in place for Discord.

  1. Open Windows Defender Firewall: Search for ‘Windows Defender Firewall’ in the Start menu and open it.
  2. Click ‘Allow an app or feature through Windows Firewall’ on the left-hand side.
  3. Check the list: Look for Discord (or Discord.exe). See if it’s checked for both ‘Private’ and ‘Public’ networks.

Managing Discord Firewall Permissions

Here’s how to control whether Discord can communicate through your firewall.

  1. To Allow/Block: Check or uncheck the boxes next to Discord for ‘Private’ and ‘Public’ networks as needed.
  2. ‘Change settings’: You may need to click ‘Change settings’ at the top of the window to make changes (requires administrator privileges).

Advanced Firewall Control (Command Line)

For more control, you can use the command line.

  1. Open Command Prompt as Administrator: Search for ‘cmd’, right-click and select ‘Run as administrator’.
  2. List Rules: Use this to see all firewall rules:
    netsh advfirewall firewall show rule name=all
  3. Add a Rule (Allow): This allows Discord through the firewall. Replace C:Program FilesDiscordDiscord.exe with the actual path if different.
    netsh advfirewall firewall add rule name="Discord" dir=in action=allow program="C:Program FilesDiscordDiscord.exe" enable=yes
  4. Delete a Rule (Block): This removes the Discord rule.
    netsh advfirewall firewall delete rule name="Discord"

Minimising Risks

Exit mobile version