Firewall and ports

What setup allows, what to open elsewhere.

What setup does

Setup adds two rules to Windows Firewall, so tests get through without a prompt:

Rule

Program

Allows

DeepPerf

DeepPerf.exe

Inbound, all profiles (domain, private, public)

DeepPerf command line

deepperf-cli.exe

Inbound, all profiles

Uninstalling removes both rules.

The separate deepperf.exe download for Server Core has no setup, so it adds no rule. Allow it yourself, for example:

netsh advfirewall firewall add rule name="DeepPerf" dir=in action=allow program="C:\Tools\deepperf.exe" enable=yes profile=any

(change the path to where you put deepperf.exe).

Other firewalls

If the other PC still can’t connect, a company firewall, another firewall program or a router in between may be blocking it. Open these on the server side:

For

Open

TCP tests

TCP on the test port (5001 by default)

UDP tests and the voice test

UDP on the test port

Latency probes from DeepPerf clients

UDP on the test port

iperf3 servers

TCP and UDP on the server’s port (5201 by default)

And on the client side:

For

Open

Both at once with a DeepPerf or iperf2 server, or -d / -r

The server connects back to the client on the test port (or the -L port). Routers doing NAT often block this; test each direction on its own instead.

Path view

Outbound ICMP (ping), and the replies (“time exceeded”) coming back; outbound TCP to the port you set.

Multicast

UDP to the group; routers between sender and receivers must forward multicast.

Windows Firewall needs no extra rule for the “time exceeded” replies: they come back as answers to the pings DeepPerf sent. If routers past the first one show no answer, they usually don’t send these replies at all; Windows’ own tracert shows the same gaps.

Was this page helpful? Tell us what worked or what was missing.