Here is a small script to allow/deny port access.
Download: http://xdc.xcoderz.net/file.php?id=12
Allow:
Deny:
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
Code:
@echo off
color 0d
echo.
echo Deny Port
set /p port=Port:
firewall.exe /pd %port%
pause>null