Microsoft Windows XP
[Version 5.1.2600
](C) Copyright 1986-2001 Microsoft Corp.
C
:\WINDOWS>netsh firewall delete portopening ?
delete portopening
[ protocol =
] TCP
|UDP
|ALL
[ port =
] 1-65535
[ [ profile =
] CURRENT
|DOMAIN
|STANDARD
|ALL
[ interface =
] name
]
刪除防火牆連接埠設定。
參數
:
protocol - 連接埠通訊協定。
TCP - 傳輸控制通訊協定 (TCP)。
UDP - 使用者資料包通訊協定 (UDP)。
ALL - 所有的通訊協定。
port - 連接埠編號。
profile - 組態設定檔 (可省略)。
CURRENT - 目前的設定檔 (預設)。
DOMAIN - 網域設定檔。
STANDARD - 標準設定檔。
ALL - 所有設定檔。
interface - 介面名稱 (可省略)。
備註
: 'profile' 和 'interface' 不可以同時指定。
範例
:
delete portopening TCP 80
delete portopening UDP 500
delete portopening protocol = TCP port = 80
delete portopening protocol = UDP port = 500