netsh » routing » ip » add » filter

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1986-2001 Microsoft Corp.
C:\WINDOWS>netsh routing ip add filter ? 使用方式: add filter [name=] [filtertype=]{INPUT|OUTPUT|DIAL} [srcaddr=] [srcmask=] [dstaddr=] [dstmask=] {[proto=] ANY | [proto=]{TCP|TCP-EST|UDP} [srcport=] [dstport=] | [proto=] ICMP [type=] [code=] } 參數: 標記 值 name - 要新增篩選器的介面名稱。 filtertype - 下列值之一: input: 如果正在修改的篩選器篩選輸入 output: 如果正在修改的篩選器篩選輸出 dial: 如果正在修改的篩選器篩選連線中 的撥號介面 srcaddr - 要篩選的封包其來源位址欄位。 srcmask - 要篩選的封包其來源位址遮罩。 如果位址和遮罩都是 0 表示任一位址。 dstaddr - 要篩選的封包其目的地位址欄位。 dstmask - 要篩選的封包其目的地位址遮罩。 proto - 要篩選的封包其通訊協定類型。 srcport - 要篩選的封包其來源連接埠欄位。 如果值為 0 表示任一來源連接埠。 dstport - 要篩選的封包其目的地連接埠欄位。 如果值為 0 表示任一目的地連接埠。 type - 要z選的封包其 ICMP 類型欄位。 如果值為 255 表示任一類型欄位。 code - 要篩選的封包其 ICMP 碼欄位。 如果值為 255 表示任一碼欄位。 註解: 新增一個封包篩選器到指定的介面。 範例: add filter name="Virtual Private Connection" filtertype=input srcaddr=0.0.0.0 srcmask=255.255.255.255 dstaddr=169.254.0.0 dstmask=255.255.0.0 proto=any add filter "Virtual Private Connection" input 0.0.0.0 0.0.0.0 169.254.0.0 255.255.0.0 any

NETSH / ROUTING / IP / ADD / FILTER


Quick - Link:
netsh interface ipv6 show interface
顯示介面參數。
netsh firewall show service
顯示防火牆服務設定。
netsh routing ip ospf set interface
變更介面的 OSPF 設定參數。
netsh routing ipx show filter
顯示封包篩選器。








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/tw/Windows_XP/netsh/routing/ip/add/filter.htm
0.077
18236
Windows 11 MS Paint in the start menu!
WinScan2PDF and WIA (Windows Image Acquisition / Capture)!
Detect the time until the battery is full or empty under Windows 11!
Ausführen Dialog Alternative für Windows 11 / 10 / 8.1 / 7 / ...
Here is a simple example when reading the process list in Task Manager!
Wieder mal kein Platz auf der externen Festplatte?
Switch user Save / Restore Desktop Icons and Windows!
The system tray icon of the pen menu in Windows 11!
Folder content appears delayed in Windows-10?
Bandizip context menu appears in Windows Explorer, but not in Q-Dir?



(0)