How to make all ports appear open in Ubuntu Server?

1

I have my own Ubuntu Server. The problem is that I cannot access the server on a lot of ports from my University. I want to see on which all ports I will be able to access. Right now what I'm doing is to make apache listen on different ports in the server and then port scan from my university to see if I can access it. So far I have discovered few ports like that which I can access. Is there someway to like open all ports or make apache listen on all the ports?

Benjamin

Posted 2010-01-07T06:26:41.993

Reputation:

tcpdump -nnq src host <campus-external-ip> and not port ssh this solved the problem for me – Michael – 2011-11-16T04:34:36.927

Where are you running your Ubuntu server? Is it behind a DSL / Cable modem. Are you sure that the modem / router have their ports open or port forwarding setup? – Lord Loh. – 2012-10-23T03:45:46.290

Answers

2

Why not run tcpdump on the server and see which of the scan packets arrive? Then you can pick one where the SYN packets actually show up, and see if the path will allow the connection to complete.

Andrew McGregor

Posted 2010-01-07T06:26:41.993

Reputation: 1 022

1

Install the scripts available from www.nopen.co.uk cookbook then scan your server using nmap. that will give you exactly the outgoing firewall rules set from your connection.

Judzy

Posted 2010-01-07T06:26:41.993

Reputation: 11