أعلى مُجيب
How do I do this with NETSH?

السؤال
-
الإجابات
-
NetSh.exe AdvFirewall Firewall Add Rule Name="Block This" dir=in action=block enable=yes profile=any localip=1.0.0.1/2 remoteip=2.0.0.0/24
Hope this helps,
Dusty Harper [MSFT]
Microsoft Corporation
------------------------------------------------------------
This posting is provided "AS IS", with NO warranties and confers NO rights
------------------------------------------------------------- تم الاقتراح كإجابة بواسطة Dusty Harper [MSFT] 12/ذو الحجة/1432 09:47 م
- تم وضع علامة كإجابة بواسطة Miya YaoModerator 15/ذو الحجة/1432 06:10 ص
جميع الردود
-
NetSh.exe AdvFirewall Firewall Add Rule Name="Block This" dir=in action=block enable=yes profile=any localip=1.0.0.1/2 remoteip=2.0.0.0/24
Hope this helps,
Dusty Harper [MSFT]
Microsoft Corporation
------------------------------------------------------------
This posting is provided "AS IS", with NO warranties and confers NO rights
------------------------------------------------------------- تم الاقتراح كإجابة بواسطة Dusty Harper [MSFT] 12/ذو الحجة/1432 09:47 م
- تم وضع علامة كإجابة بواسطة Miya YaoModerator 15/ذو الحجة/1432 06:10 ص
-
-
NetSh.exe AdvFirewall Firewall Add Rule Name="Block This" dir=in action=block enable=yes profile=any localip=1.0.0.1/2 remoteip=2.0.0.0/24
Hope this helps,
Dusty Harper [MSFT]
Microsoft Corporation
------------------------------------------------------------
This posting is provided "AS IS", with NO warranties and confers NO rights
------------------------------------------------------------
Yup, that works. Thanks, Dusty.
What about doing it in a non-permanent way?
- Vince