C o l o r
C
o
n
s
o
l
e
netsh
»
firewall
»
set
»
portopening
Microsoft Windows XP
[
Version 5.1.2600
]
(C) Copyright 1986-2001 Microsoft Corp.
C
:
\WINDOWS>netsh firewall set portopening ? set portopening
[
protocol =
]
TCP
|
UDP
|
ALL
[
port =
]
1-65535
[
[
name =
]
name
[
mode =
]
ENABLE
|
DISABLE
[
scope =
]
ALL
|
SUBNET
|
CUSTOM
[
addresses =
]
addresses
[
profile =
]
CURRENT
|
DOMAIN
|
STANDARD
|
ALL
[
interface =
]
name
]
ファイアウォールのポートの構成を設定します。 パラメータ
:
protocol - ポートのプロトコルです。 TCP - Transmission Control Protocol (TCP) です。 UDP - User Datagram Protocol (UDP) です。 ALL - すべてのプロトコルです。 port - ポート番号です。 name - ポート名です。 mode - ポートのモードです (省略可能)。 ENABLE - ファイアウォール経由の通信を許可します(既定)。 DISABLE - ファイアウォール経由の通信を許可しません。 scope - ポートのスコープです (省略可能)。 ALL - ファイアウォール経由のトラフィックをすべて許可します (既定)。 SUBNET - ローカル ネットワーク (サブネット) のトラフィックのみ許可し ます。 CUSTOM - 指定したファイアウォール経由の通信のみ許可します。 addresses - カスタムのスコープ アドレスです (省略可能)。 profile - 構成プロファイルです (省略可能)。 CURRENT - 現在のプロファCルです (既定)。 DOMAIN - ドメインのプロファイルです。 STANDARD - 標準のプロファイルです。 ALL - すべてのプロファイルです。 interface - インターフェイス名です (省略可能)。 注意
:
'profile' と 'interface' を同時に指定することはできません。 'scope' と 'interface' を同時に指定することはできません。 'addresses' を指定するには、'scope' が 'CUSTOM' である必要があります。 例
:
set portopening TCP 80 MyWebPort set portopening UDP 500 IKE ENABLE ALL set portopening ALL 53 DNS ENABLE CUSTOM 157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0,LocalSubnet set portopening protocol = TCP port = 80 name = MyWebPort set portopening protocol = UDP port = 500 name = IKE mode = ENABLE scope = ALL set portopening protocol = ALL port = 53 name = DNS 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 / PORTOPENING
Quick - Link:
netsh exec
スクリプト ファイルを実行します。
netsh routing ip nat set
構成情報を設定します。
netsh interface portproxy show
情報を表示します。
netsh routing ipx rip set
構成情報を設定します。
netsh ras ipx set pool
RAS IPX アドレス プールを設定します。
netsh interface ip show dns
DNS サーバー アドレスを表示します。
netsh routing ip relay show global
DHCP リレー エージェント グローバル構成を表示します。
...
Home
...
Impressum
...
CMD commands
...
Netsh-Windows-11
...
Netsh-Windows-10
...
Netsh-Windows-7
...
Netsh-Vista
...
Netsh-XP
...
PowerShell Commands
...
Download
    alternative cmd.exe
>
...
Windows 10 FAQ
...
Windows 10 How To
...
Windows 11 How To
...
Windows 10 FAQ
ファイアウォール ポートの構成を設定します。
/ Windows 2000/XP
HTTP:
... cmd/jp/Windows_XP/netsh/firewall/set/portopening.htm
0.061
21430
The virtual mouse pointer extension for the Windows Desktop!
This file can not be deleted!
Fonts printing with print and preview function!
Short Notices on the Windows 11 desktop!
Install Windows 11 on FAT or FAT32, is that possible?
Improved mouse wheel and little load on the CPU or resources!
(0)
This website uses cookies to ensure you get the best experience on our website
Infos