Deepcuts
Regular Contributor
Hello,
From the get go I will say that I have almost zero experience with Windows firewall.
Beside from simple rules like allow an application to access outside networks and simple inbound rules, I am a novice.
Now I need to filter some ports on a Windows 2008 R2 server, which is connected directly to the internet (without a router or hardware firewall in front of it).
And I am unable to see how can I allow an incoming TCP/UDP connection on a specific port ONLY from certain IPs, while blocking it for the rest of the internet.
The setting for incoming connections is to Block by default.
The setting for outgoing connections is to Allow by default.
The connection protected by the firewall is set to Public and the firewall is ON for Public zone.
Added the rule for the port to Allow inbound connections and in Scope section I added the IPs which must have access.
Nevertheless, this does not block access to the specific TCP/UDP port for the rest of the world.
As far as i can tell, Windows firewall only allows you to block/allow a specific port for every IP outside your network.
Am I missing something? Does Windows firewall have this feature? Or do I have to put a linux firewall in front to accomplish this?
Thank you.
From the get go I will say that I have almost zero experience with Windows firewall.
Beside from simple rules like allow an application to access outside networks and simple inbound rules, I am a novice.
Now I need to filter some ports on a Windows 2008 R2 server, which is connected directly to the internet (without a router or hardware firewall in front of it).
And I am unable to see how can I allow an incoming TCP/UDP connection on a specific port ONLY from certain IPs, while blocking it for the rest of the internet.
The setting for incoming connections is to Block by default.
The setting for outgoing connections is to Allow by default.
The connection protected by the firewall is set to Public and the firewall is ON for Public zone.
Added the rule for the port to Allow inbound connections and in Scope section I added the IPs which must have access.
Nevertheless, this does not block access to the specific TCP/UDP port for the rest of the world.
As far as i can tell, Windows firewall only allows you to block/allow a specific port for every IP outside your network.
Am I missing something? Does Windows firewall have this feature? Or do I have to put a linux firewall in front to accomplish this?
Thank you.
Last edited: