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 - transmission control protocol (TCP) です。
UDP - user datagram protocol (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