Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Windows7 firewall-how to figure out what ports to open

09 May 2009   #1

windows 7
Windows7 firewall-how to figure out what ports to open

So I have started to use windows7 RC and it's build in firewall. Until now i was on win xp with eset firewall. Everything is ok so far except two things:

1.) There doesn't seem to be anything like learning mode for Windows 7 firewall, or is there? How em I supposed to make a rule for application if I don't know what port it needs to open? I know, one can use google, but this can get pretty anoying after a while. Log file also doesn't help much because it doesn't list application names. Is there some kind of 3rd party simple app which would monitor attepts for connection and tell me which port a specific application just tried to use so i could make a rule in windows firewall?

2.) It seems that Windows 7 firewall is creating inbound rules automatically (at least for local applications), can i turn this behavior off?


My System SpecsSystem Spec

09 May 2009   #2
Microsoft MVP

Windows 7 Ultimate 32bit SP1

Download the "Free" version of Vista Firewall control ... it works with Windows 7
Vista Firewall Control : Sphinx Software
My System SpecsSystem Spec
09 May 2009   #3

windows 7

Tried that and seems to only make it easier to create rules. Also it automatically enabled some windows default rules that i have disabled (for windows media player).

Just to make it clear, I like the way Windows 7 fw is controlled, I think I understand most of the fw stuff, I just need a simple way how to figure out which port a specific application want's to use and also how to disable automatic rule creation (so far i have noticed this behavior on inbound rules only).
My System SpecsSystem Spec

11 May 2009   #4

windows 7

Hello, any more ideas?
My System SpecsSystem Spec
11 May 2009   #5

W7 X-64 W8.1 X-64 Opensuse 13.1 W2003 Server

Quote   Quote: Originally Posted by ulukai View Post
Hello, any more ideas?
Try looking at the Port Forwarding utility in your Router -- this will often suggest ports to open - especially if you can control your router via a web (browser) interface rather than a command line. The utility might have a help function in it.

Generally if you need some sort of Http server then 80 and 8080 should be open, otherwise open ports for SSH, FTP, RDP if you use these functions (and if you have a mail server then SMTP port).

If you understand "Tunnelling" you can make your system more secure by choosing any port you like and "Tunnel" it to the "Real port" you need

This method is often used for example if you want to log on to a Home computer and the work place blocks the outgoing RDP Port. You use a standard port which IS open (normally SSH or HTTP are open) and tunnel those to your network.

There's documentation here

PuTTY Download Page

Here's how to bypass work Firewalls with Putty-- this is slightly old but the principle is the same.

Using PuTTY (and SSH) to Bypass Firewalls

My System SpecsSystem Spec

 Windows7 firewall-how to figure out what ports to open

Thread Tools

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 01:26 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33