07-22-2015 12:46 AM - edited 03-11-2019 11:18 PM
Hello Guys
I need to identify ports between two PCs so that I can lock them down via ACL on ASA5512-x, the problem is how do I know what ports should be allowed and what should be denied?
I am aware of 'netstat', but does it mean every single port on netstat needs to be opened?
Thanks
Solved! Go to Solution.
07-22-2015 01:06 AM
Your application-support-team should be able to tell you which ports the PCs need. In reality, they typically don't know.
One way to find out is to start with a "deny ip any any" and wait for the complains. Then add the needed ACEs for communication that is desired.
Or start with an ACL that allows all, but also logs the traffic. There you can identify was is done by the PC, and allow all that is needed. After some time you just remove the last "permit ip any any"-line.
07-22-2015 01:06 AM
Your application-support-team should be able to tell you which ports the PCs need. In reality, they typically don't know.
One way to find out is to start with a "deny ip any any" and wait for the complains. Then add the needed ACEs for communication that is desired.
Or start with an ACL that allows all, but also logs the traffic. There you can identify was is done by the PC, and allow all that is needed. After some time you just remove the last "permit ip any any"-line.
07-22-2015 01:11 AM
Thanks for your reply Karsten, allow any any and log sounds like a brilliant idea, I ll try that
Cheers
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide