REM Packet Fileters for Server Hardening REM REM Name: PacketFilters-SMTPBastionHost.CMD REM Version: 1.0
REM This CMD file provides the proper NETSH syntax for creating an IPSec Policy REM that blocks all network traffic to an SMTP Bastion Host except for what is REM explicitly allowed as described in the Windows 2003 Server Solution Guide. REM Please read the entire guide before using this CMD file.
REM Revision History REM 0000 - Original March 21, 2003 REM 0001 - Original April 16, 2003
REM NOTE: IP Address of a DNS server or servers must be specified for each of the DNS Client Filters defined below: netsh ipsec static add filter filterlist="DNS Client" srcaddr=me dstaddr= description="DNS Client Traffic TCP" protocol=TCP srcport=0 dstport=53 netsh ipsec static add filter filterlist="DNS Client" srcaddr=me dstaddr= description="DNS Client Traffic UDP" protocol=UDP srcport=0 dstport=53