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: Windows firewall not blocking port

06 Nov 2010   #1

Windows 7 32bit
 
 
Windows firewall not blocking port

Hi

I need to block a specific UDP port both inbound and outbound. I have tried using Windows 7 firewall for this, but oddly it is not capable of blocking the port. I have been very meticulous with the firewall settings creating an inbound and outbound rule, but still it lets traffic through.

As a comparison I downloaded Comodo firewall, disabled Windows firewall and created the same rule blocking in/out UDP port. Comodo blocks traffic in both directions without an issue!

I know that I could stick with Comodo, but I'm curious if anyone knows why Windows firewall is failing.

Btw I used Wireshark to be certain that traffic was being blocked.

Thanks


My System SpecsSystem Spec
.

06 Nov 2010   #2
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

Did you do this? Block a Port in Windows 7
My System SpecsSystem Spec
06 Nov 2010   #3

Windows 7 Home Premium 64-bit
 
 

Great info Jacee!
My System SpecsSystem Spec
.


06 Nov 2010   #4

Windows 7 32bit
 
 

Quote   Quote: Originally Posted by Jacee View Post
Did you do this? Block a Port in Windows 7
Hi Jacee

Yes, that is exactly what I have done and the firewall still lets the traffic through. I have even reset the firewall to default and tried multiple times and every time it fails to block.
My System SpecsSystem Spec
06 Nov 2010   #5

Windows 7 Professional 64 Bit SP1
 
 

So you added a in-bound and out-bound block for certain UDP port numbers in Windows firewall. However, your computer's installed traffic sniffer still picks it data from those ports?

Whatever port this is, I assume you have a program that uses the port(s) you want blocked? Is this program running and added into the permit list of Windows Firewall? If this is the case, your program's permit rule could be overriding the block rule(s) you added.

Also, for a more accurate picture, run the wire shark tool on a different computer.

Quote   Quote: Originally Posted by yonatan748 View Post
Hi

I need to block a specific UDP port both inbound and outbound. I have tried using Windows 7 firewall for this, but oddly it is not capable of blocking the port. I have been very meticulous with the firewall settings creating an inbound and outbound rule, but still it lets traffic through.

As a comparison I downloaded Comodo firewall, disabled Windows firewall and created the same rule blocking in/out UDP port. Comodo blocks traffic in both directions without an issue!

I know that I could stick with Comodo, but I'm curious if anyone knows why Windows firewall is failing.

Btw I used Wireshark to be certain that traffic was being blocked.

Thanks
My System SpecsSystem Spec
06 Nov 2010   #6
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

This is free ... see if it works |MG| Windows 7 Firewall Control 3.5.1.131 Download
My System SpecsSystem Spec
06 Nov 2010   #7

Windows 7 Professional 32-bit (6.1, Build 7600)
 
 

Quote   Quote: Originally Posted by Jacee View Post
Did you do this? Block a Port in Windows 7
Quote:
  1. Note: You can prevent outbound traffic by selecting Outbound Rules.
That tutorial is kinda mis-leading for outbound. It's my understanding that Outbound would have to be enabled. One can create as many outbound rules as you'd like but without enabling it means very little with outbound being allowed by default. But, I may be the one mis-understanding,lol.
My System SpecsSystem Spec
06 Nov 2010   #8

Windows 7 32bit
 
 

OK that's for all the suggestions, but I have just tried to block again and used another computer with wireshark and it is still letting traffic through! My opinion on this is that Windows firewall is flawed or not as robust as it should be. I've followed the links that you posted Jacee to make sure that I was doing it right (and I was) and still no go.

I guess I will use Comodo firewall as it behaves properly.

Thanks
My System SpecsSystem Spec
06 Nov 2010   #9

Windows 7 32bit
 
 

Quote   Quote: Originally Posted by Rei Tumult View Post
So you added a in-bound and out-bound block for certain UDP port numbers in Windows firewall. However, your computer's installed traffic sniffer still picks it data from those ports?

Whatever port this is, I assume you have a program that uses the port(s) you want blocked? Is this program running and added into the permit list of Windows Firewall? If this is the case, your program's permit rule could be overriding the block rule(s) you added.

Also, for a more accurate picture, run the wire shark tool on a different computer.
I checked and the program was not checked in the permit list! Regarding wireshark I just tried sniffing from a different computer and applying the firewall on the other one and wireshark still detects the traffic.

Also see my reply above. Thanks
My System SpecsSystem Spec
Reply

 Windows firewall not blocking port




Thread Tools



Similar help and support threads for2: Windows firewall not blocking port
Thread Forum
blocking all ports trough windows firewall Network & Sharing
Solved Windows firewall blocking media streaming Network & Sharing
Why is the windows firewall blocking my file sharing? Network & Sharing
Windows Firewall blocking Fileserve System Security
Firewall blocking all windows and MSE updates System Security
Windows 7 firewall blocking internet. System Security
firewall or kaspersky 8 blocking port in utorrent System Security

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 04:10 PM.
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