Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • October 22, 2016, 10:21:57 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: How to Create Windows Firewall Outbound Rule?  (Read 3870 times)


  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,216
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
How to Create Windows Firewall Outbound Rule?
« on: October 09, 2011, 12:51:57 AM »
I posted this at StackOverflow:


I need to open up the Windows Firewall for outbound connections for an application I'm writing.

The best answers I've been able to locate are here:



The problem is that method only creates an inbound rule, and not an outbound rule. (Both the C# and InnoSetup script use the same method.) This is entirely useless for me.

The default behaviour for the Windows Firewall is to allow outbound traffic, but that doesn't guarantee that someone won't change that.

I would prefer to do this in the installer (using InnoSetup) rather than doing it in C#.

Did I miss something?

Does anyone know how to create an outbound rule?

Does anyone here know the answer?

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker