netsh » firewall » set » allowedprogram

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1986-2001 Microsoft Corp.
C:\WINDOWS>netsh firewall set allowedprogram ? set allowedprogram [ program = ] path [ [ name = ] name [ mode = ] ENABLE|DISABLE [ scope = ] ALL|SUBNET|CUSTOM [ addresses = ] addresses [ profile = ] CURRENT|DOMAIN|STANDARD|ALL ] 设置防火墙允许的程序配置。 参数: program - 程序路径和文件名。 name - 程序名(可选)。 mode - 程序模式(可选)。 ENABLE - 允许通过防火墙(默认值)。 DISABLE - 不允许通过防火墙(默认值)。 scope - 程序范围(可选)。 ENABLE - 允许所有流量通过防火墙(默认值)。 SUBNET - 只允许本地网络(子网)流量通过防火墙。 CUSTOM - 只允许指定的流量通过防火墙。 addresses - 自定义范围地址(可选)。 profile - 配置的配置文件(可选)。 CURRENT - 当前配置文件(默认值)。 DOMAIN - 域配置文件。 STANDARD - 标准配置文件。 ALL - 所有配置文件。 备注: 'scope' 必须是 'CUSTOM' 才能指定 'addresses'。 示例: set allowedprogram C:\MyApp\MyApp.exe MyApp ENABLE set allowedprogram C:\MyApp\MyApp.exe MyApp DISABLE set allowedprogram C:\MyApp\MyApp.exe MyApp ENABLE CUSTOM 157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0,LocalSubnet set allowedprogram program = C:\MyApp\MyApp.exe name = MyApp mode = ENABLE set allowedprogram program = C:\MyApp\MyApp.exe name = MyApp mode = DISABLE set allowedprogram program = C:\MyApp\MyApp.exe name = MyApp mode = ENABLE scope = CUSTOM addresses = 157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0,LocalSubnet

NETSH / FIREWALL / SET / ALLOWEDPROGRAM


Quick - Link:








Windows-10


... Windows 10 FAQ
... Windows 10 How To


Windows 10 How To


... Windows 11 How To
... Windows 10 FAQ



设置防火墙允许的程序配置。 / Windows 2000/XP

HTTP: ... cmd/cn/Windows_XP/netsh/firewall/set/allowedprogram.htm
0.124
19811

The drawing / paint program under Windows 11!

Select the speaker for playback in Windows 11!

The corona viruses have mutated into macro viruses!

Detect the amount of data transferred under Windows 11 per application!

Startup Folder and all User Startup Folder for Windows 11!

Using keyboard shortcuts to insert texts and start commands can be so easy!



(0)