_____                        _                                                _                _                
 / ___ \       _              (_)                                 _            | |              | |               
| |   | |_   _| |_  ____  ___  _ ____   ____    ____   ___   ____| |_      ____| | _   ____ ____| |  _ ____  ____ 
| |   | | | | |  _)/ _  |/ _ \| |  _ \ / _  |  |  _ \ / _ \ / ___)  _)    / ___) || \ / _  ) ___) | / ) _  )/ ___)
| |___| | |_| | |_( ( | | |_| | | | | ( ( | |  | | | | |_| | |   | |__   ( (___| | | ( (/ ( (___| |< ( (/ /| |    
 \_____/ \____|\___)_|| |\___/|_|_| |_|\_|| |  | ||_/ \___/|_|    \___)   \____)_| |_|\____)____)_| \_)____)_|    
                  (_____|             (_____|  |_|                                                                


	
Made with  and VIM by Jan Philippi
	

Outgoing port checker

This tool checks which ports can be used for outgoing requests. Please note this tool only checks for HTTPs traffic. Some ISPs or networks may filter some protocols, but not HTTP or HTTPs. Also this tool looks like you're running a port scan. Well, actually you are. To not get into trouble check your legal situation in your country. Of course this tool is explicitly meant to be used. You can do as many port scans on this machine as you want.

  1. Web based test
  2. Linux: Test with curl
    1. Simple version
    2. Fast check for the most used ports
    3. Check all TCP ports
  3. Windows: telnet and nmap
    1. Testing with telnet
    2. Testing with nmap
      1. Testing commonly used ports in nmap
      2. Testing all ports in nmap
  4. Discussion / Feature request

Web based test

Currently testing port: Not testing

Test with Linux and Curl

Simple version

Simple test to check port 80. Works with HTTP and HTTPs.

			export PORT=80; curl -qs "https://openports.jan.philippi.name:$PORT/" > /dev/null && echo "Test succesful" || echo "Test failed"
		

Fast check for the most used ports

This is a missing feature for the web based version. May come soon.

			for i in 21 22 23 25 80 110 143 443 465 587 993 995 ; do echo -ne "$i\t"; curl -s "https://openports.jan.philippi.name:$i/" > /dev/null \
			&& echo -ne "Port open\n" || echo -ne "Port closed\n"; sleep 0.5; done
		

Check all TCP ports

Check all outgoing ports. This may take some time.

			for i in `seq 1 65535`; do echo -ne "Port\t$i\t"; curl -sI "https://openports.jan.philippi.name:$i/" | head -n1; sleep 0.5; done
		

Testing on Windows

[This section may need some love.]

Testing with telnet

You can use Windows tools to check for open outgoing ports. To use telnet, you need to be administrator of the computer to enable telnet. Telnet might be already installed. You can check this by opening a new commandline (press Windows key, enter "cmd", hit return): If it is not enabled you can run

			dism /online /Enable-Feature /FeatureName:TelnetClient
		
to enable telnet. If you need a graphical way to do this, you can follow Jack Ukleja's guide.
Then you can check with

			telnet openports.jan.philippi.name 1234
		

Testing with nmap

You can get nmap here: https://nmap.org/download.html

Testing most common ports

			nmap -p 21,22,23,25,80,110,143,443,465,587,993,995 -Pn openports.jan.philippi.name
		

Example:

Testing all ports

This scan will take forever.

			nmap -p 1-65535 -Pn openports.jan.philippi.name
		

Example:

Discussion