Information Technology Reference
In-Depth Information
Solution
Using a Graphical User Interface
1.
Open the Network Connections applet.
2.
Double-click on the Local Area Connection icon.
3.
Click on Internet Protocol (TCP/IP), and select Properties.
4.
Click on Advanced. From the Options tab, select TCP/IP Filtering and select Properties.
5.
To enable TCP/IP filtering, place a check mark next to Enable TCP/IP Filtering (All
Adapters). To create a filter that allows only TCP port 80, select the radio button next
to Allow Only in the TCP Ports Section. Click Add, and enter 80 in the TCP Port text
box. Click OK when you're finished.
Using the Registry
To configure a TCP filter to allow traffic on ports 80 and 443 , set the following Registry value, or
enter the ports that you wish to configure for your environment:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
Tcpip\Parameters\Interfaces\ {<Interface GUID>} \]
"TcpAllowedPorts"=REG_MULTI_SZ: 80 443
Caution Entering 0 here indicates that all ports are allowed. Configuring this key with an empty list
means that no traffic can pass.
To configure a User Datagram Protocol (UDP) filter, set the following Registry key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
Tcpip\Parameters\Interfaces\ {<Interface GUID>} \
"UDPAllowedPorts"=REG_MULTI_SZ: " <UDP Port> "
To configure an IP filter, set the following key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
Tcpip\Parameters\Interfaces\ {<Interface GUID>} \
"RawIPAllowedPorts"=REG_MULTI_SZ: " <IP Port> "
Note All of the values in this section can accept multiple entries separated by pressing the Enter key.
Search WWH ::




Custom Search