Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm behind fairly restrictive firewall regarding ports, that can be used for connecting outside. I'm also running service on my remote box, and I want to connect to it.

Problem is, that I'm unable to find out which ports I can access, so I don't know where I can bind the service. (The typical unrestricted ports like 80 and 443 are already used on given machine).

I tried to run nmap -sS behind firewall to scan all TCP ports and wireshark on the second machine to determine SYNs that I receive, but I can see false positives (when I listen with netcat on given port and try to connect, it fails).

Is there any tool that can serve my purpose?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

This website comes in handy for that:

http://portquiz.net:1234/

This example tests whether you are able to visit outbound port 1234. You simply change the port number to whatever you like. Also, the site gives some examples that could be used in a command line script:

$ wget -qO- portquiz.net:1234 
Port 1234 test successful!
Your IP: 198.252.206.16
share|improve this answer
    
Nice. Exactly what I needed, thanks! –  Yossarian Aug 12 '13 at 20:10
    
portquiz.net is blocked by most corporate firewalls. –  Blammo Oct 14 at 17:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.