URL unknown Ports Command ?



  • Another friend asked me a doubt that he has some URL in the internet or intranet.There are some port such as 443 8080 are allowed from the office.He has the doubt how to find the ports for the url which is not mentioned from his boss.

    Whether as a user he can able to check the unknown port numbers which are allowed in the firewall or denied in the firewall?

    Whether it is possible to do so?



  • No need to add lots of question marks and such. One is all that is needed whenever they occur.



  • There is no simple way to know this. If he sets up a machine that will listen on every port, he could then test with a port scanner from internal.



  • @scottalanmiller said in URL unknown Ports Command ?:

    There is no simple way to know this. If he sets up a machine that will listen on every port, he could then test with a port scanner from internal.

    Good way to get written up if they don't have permission as well.



  • @travisdh1 said in URL unknown Ports Command ?:

    @scottalanmiller said in URL unknown Ports Command ?:

    There is no simple way to know this. If he sets up a machine that will listen on every port, he could then test with a port scanner from internal.

    Good way to get written up if they don't have permission as well.

    I think "getting around the rules" is already assumed at this point.



  • @scottalanmiller said in URL unknown Ports Command ?:

    @travisdh1 said in URL unknown Ports Command ?:

    @scottalanmiller said in URL unknown Ports Command ?:

    There is no simple way to know this. If he sets up a machine that will listen on every port, he could then test with a port scanner from internal.

    Good way to get written up if they don't have permission as well.

    I think "getting around the rules" is already assumed at this point.

    Wouldn't mind to do any port scanning. A good admin will see this, and there is probably a reason your friends net is locked down. Scanning the network can get his butt faster on the street than he can write pcap.

    Anyway, just for educational purposes: Use SSH port forwarding, maybe to a host at your friends home.

    This will route every traffic to the desired target through an encrypted tunnel. You may bypass most firewalls by using common ports this way. A bit hard to explain, but there are plenty of tutorials available.

    But you mentioned tcp/8080. That port is often used as a HTTP proxy, so your friend probably does not have a direct (routed) connection to the internet at all.


Log in to reply