Problem solve Get help with specific problems with your technologies, process and projects.

Can I block all ports except for a few chosen ones?

Hello Laura. I read your article regarding how to configure Windows to block certain ports with the help of IPsec -- very informative! Is it is possible to do it the other way around; that is, can I block all ports except a few chosen ones? I don't want to have to block each and every port I do not want to use one by one.
You can set the default IPsec action to "Block all incoming traffic from any IP address to my IP address," but you would then need to manually create an entry for each type of traffic that you want to allow.
This was last published in June 2003

Dig Deeper on Windows Operating System Management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.