Skip to main content

Windows 2003 Firewall blocks only incoming ports.

In the need to block SMTP outgoing

Download Windows XP support tools from: http://www.microsoft.com/en-us/download/confirmation.aspx?id=18546 (also attached here)

Extract IPSeccmd.exe from archive and run from CMD:

IPSeccmd.exe -w REG -p "Block TCP 25 Filter" -r "Block Outbound TCP 25 Rule" -f 0=*:25:TCP -n BLOCK -x