Skip to content
WJunction - Webmaster Forum

[BATCH] Firewall - Allow/Deny Script

Status
Not open for further replies.
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
 
Status
Not open for further replies.

About the author

L
Active Member · Joined
4,052
Messages
713
Reactions
113
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom