Ask the Expert

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.

    Requires Free Membership to View

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 first published in June 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: