How to use TCP traceroute
- Tips and Tricks
- 1,529 views
- Aelswith E.

Unlike the more traditional traceroute which sends either UDP or ICMP ECHO packets, TCP Traceroute is using TCP packets and, thus, can bypass the most common firewall filters.
Follow the instructions below in order to run TCP Traceroute:
Windows does not have a native utility to run TCP traceroute. To run it on Windows, you will need to install the Npcap library and download the tracetcp utility.
To install the Npcap library, follow these steps:
1. Download the Npcap library.
2. Double-click on the downloaded executable file open it and start installation.
3. Review the License agreement and click the I Agree button:

4. On the next page click the Install button:

The next step is to download tracetcp.
Once the archive is downloaded, extract the files from the .zip archive and move them to the C:\Windows\System32\ folder:

IMPORTANT: By default, the TCP traceroute can be run only if the working directory was changed via CMD to the folder where the traceTCP executable is located (i.e. C:\Windows\System32\tracetcp_directory).
In order to be able to run it from anywhere in the system, it is required to add the path of the traceTCP executable to the system environment variables.
For this, go to the Start menu >> Edit System Environment Variables >> Environment Variables >> select “Path” variable and click on “Edit” >> click on “New” >> paste the path to the traceTCP folder in its name:

Then press “OK”.
Now you can run TCP traceroute in the following way:
1. To open the Command Prompt (CMD), press Win + R keymatch. Run dialog box will be opened.
2. Type cmd and click on the OK button:

3. Type the command:
tracetcp domainname.tld
NOTE: domainname.tld should be replaced with your domain name, a serverâ$™s name or its IP address.

4. Press Enter.
You can install TCP Traceroute app in the following way:
1. Press command+space keymatch >> type Terminal >> press enter/return key.
2. Type in Terminal the following command:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
and press enter/return key. Wait for it to finish.
brew install tcptraceroute
sudo tcptraceroute domainname.tld

NOTE 1: domainname.tld should be replaced with your domain name, a serverâ$™s name or its IP address.
NOTE 2: when executing this command, you will be prompted to enter the password for the administrator account you are currently logged in as.
traceroute -T domainname.tld
NOTE: domainname.tld should be replaced with your domain name, a serverâ$™s name or its IP address.
That’s it!
             Â
                     Need any help? Contact our HelpDesk