Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

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
0
leta37
Asked:
leta37
  • 2
  • 2
1 Solution
 
mass2612Commented:
Hi,

"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 ASP.net.

This link has some basics on blocking ports - http://techrepublic.com.com/5100-6228-5033634.html#
0
 
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?
0
 
mass2612Commented:
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.
0
 
leta37Author Commented:
thx mass!!!
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now