0
votes
0answers
194 views

Block incoming DNS queries using netsh advfirewall

How do you do this with Windows firewall? iptables -I INPUT --in-interface ! lo -p udp --dport 53 -j DROP Ideally, if you can do this with netsh and so that it will survive whatever it is that ...
2
votes
3answers
2k views

How can I use netsh to find a rule using a pattern

I'm wondering whether anyone in Microsoft has ever come to a situation where they can't remember a rule's name! The netsh advfirewall firewall show rule only accepts 1 name and no pattern matching ...
1
vote
0answers
453 views

How to allow RDP through IPSEC using netsh advfirewall command

I have an offsite windows server 2008 R2 server. And an ipsec tunnel set on our router here plus a connection security rule in Advanced Firewall on the server. I have ssh access to the console on the ...
0
votes
1answer
2k views

Netsh, how to open ports in windows firewall for WMI?

How can you open ports in windows firewall for WMI using netsh command ? On windows vista and newer MS OS-es you run this command netsh advfirewall firewall set rule group="windows management ...
0
votes
1answer
193 views

If I reset the Windows Firewall with netsh will programs re-prompt for access?

If I run the following command: netsh advfirewall reset The windows firewall will get flushed back to it's defaults and looses any program specific rules. Will programs that require firewall ...
3
votes
3answers
8k views

how do I disable the firewall on a single interface in Windows 7?

We're using openvpn to provide access back from XP to work. We use AD policies to ensure the XP firewall is up when off the domain and down when on the domain. With openvpn, you end up with a new ...
2
votes
1answer
532 views

Why aren't “Windows Firewall with Advanced Security/Connection security rules” and netsh in sync?

The screenshot pretty much says it all: I don't understand. If I create rules in the MMC snap-in, they don't appear in netsh, if I create rules in netsh, they don't appear in the MMC snap-in. What ...