Here is a small script to allow/deny port access.

Download: http://xdc.xcoderz.net/file.php?id=12

Allow:
Code: 
@echo off
color 0d
echo.
echo Allow Port
set /p name=Name: 
set /p port=Port: 
firewall.exe /pa %port% "%name%"
pause>null
Deny:
Code: 
@echo off
color 0d
echo.
echo Deny Port
set /p port=Port: 
firewall.exe /pd %port%
pause>null
l0calh0st Reviewed by l0calh0st on . [BATCH] Firewall - Allow/Deny Script Here is a small script to allow/deny port access. Download: http://xdc.xcoderz.net/file.php?id=12 Allow: @echo off color 0d echo. echo Allow Port set /p name=Name: Rating: 5