HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


How to use TCP traceroute

  • Category : Tips and Tricks
  • Posted on : May 19, 2020
  • Views : 758
  • By : HostSEO

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:

 



For Windows users

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.

 

Thatâ$™s it!
 



For Mac users

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.

3. Type the following command and wait for the installation to be finished:
 
brew install tcptraceroute

 

4. Done. Now you can use TCP Traceroute command line tool. All you need is to type
 
sudo tcptraceroute domainname.tld

 

and press enter/return key:




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.

 

 
 


For Linux users

To run TCP traceroute in Linux, open Terminal >> type the following command and press the Enter key:
 
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

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 1
2345678
9101112131415
16171819202122
23242526272829
30 

Born in 2004 ... Trusted By Clients n' Experts

SEO Stars

They never made me feel silly for asking questions. Help me understand how to attract more people and improve my search engine ranking.

Read More

Emily Schneller Manager at Sabre Inc
SEO Stars

Took advantage of Hostseo's superb tech support and I must say, it is a very perfect one. It is very fast, servers reliability is incredible.

Read More

Leena Mäkinen Creative producer
SEO Stars

We're operating a worldwide network of servers with high quality standards requirements, we’ve choose hostseo to be our perfect partner.

Read More

Ziff Davis CEO at Mashable
SEO Stars

It’s very comfortable to know I can rely about all technical issues on Hostseo and mostly that my website and emails are safe and secured here.

Read More

Isaac H. Entrepreneur
SEO Stars

With hostseo as a hosting partner we are more flexible and save money due to the better packages with great pricing, free SEO n' free SSL too!

Read More

Madeline E. Internet Professional