Implementing a firewall - ports?

Hi all,

Back in January we purchased a PIX firewall for our webserver, and I have decided I best get around to having it setup properly!

What I need to do is define what ports to allow access to. Now I know there are the basics like port 80 for the website and 21 for FTP, etc but I am not sure what else i need to allow. Is there a program I can get that will tell me what ports are currently open and been used?

And on the other hand, are there any ports that I definately should NOT allow access to?

We run our server from a remote location, so we use Remote Desktop Connection to admin the server, and we also deploy ASP.NET applications on the server.

Any help would be great!
Thanks - Lee
Who is Participating?
mass2612Connect With a Mentor Commented:

"netstat -a" will give you a list of all connections and listening ports.

I think RDP uses TCP 3389. Sorry, I don't know any specifics on

This link has some basics on blocking ports -
leta37Author Commented:
Is there any third party applications I could possibly use to get the list of connections - ie. with a GUI and logging so I can print it off etc?
Sorry I'm sure there are but I don't know of any off the top of my head. "netstat -a > filename.csv" will make things a bit easier to read if you can get the file to a workstation.
leta37Author Commented:
thx mass!!!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.