Windows Firewall Rules

Hi guys,

I am trying to figure it out how to create windows firewall rules to block one application for any external connection but only connects to the server where is data base located.

I tried already to Deny all connection and then allow only to the server connection so there were 2 rules, but it seems that the deny has first priority, so I cannot connect the application to the server with these rules.

When I create only allow to the server connection its actually connecting to the external IP too.

What am I doing wrong here?
yodaaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
Outgoing rules, the access by the application will depend on the routing rules for the entire system.
Commonly outgoing rules are allow all.
to restrict this application from accessing external resources to your network, you would need to enforce this rule on your perimeter firewall  if you know what IP:port those attempts will be coming from. Alternatively, block all and require them to go through a proxy. if the application will follow the internet options, proxy settings, it will once again be able to access external resources.

If you could be more descriptive of what the application is and who can and who can not access ....
yodaaAuthor Commented:
Arnold,

I have figure out it.

I blocked all IPs ranges and only allowed my IP range to communicate, after that it blocked all connections and only allowed this application to connect the  server.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Seth SimmonsSr. Systems AdministratorCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: yodaa (https:#a42535329)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.