Firewall Exception for a service - Advanced Installer Community
prerak6962
Posts: 112
Joined: Mon Dec 08, 2014 5:26 pm

Firewall Exception for a service

Hello,

Is it possible to apply a firewall exception to a particular service only?
I can add the exception for a program, but I need to add it for a service that will be installed by my application.
For example, if you see "Properties -> Programs and Services" of any firewall rule, you can select the services to which this rule will apply.
Untitled.png
Untitled.png (19.56 KiB) Viewed 3631 times
Thank you,
Prerak
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Firewall Exception for a service

Hello Prerak,

Yes.

To achieve what you want you can simply add a new rule in the "Windows Firewall" page -> "Exceptions" tab. Just set the path to the binary file of your service in the "Program path" field.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prerak6962
Posts: 112
Joined: Mon Dec 08, 2014 5:26 pm

Re: Firewall Exception for a service

Hi Daniel,

That was it.

Thank you for the information.
Prerak
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Firewall Exception for a service

You're always welcome Prerak.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”