[Veritas-bu] BAT file to open Firewall port with XP SP2
2004-10-21 15:03:08
Subject: |
[Veritas-bu] BAT file to open Firewall port with XP SP2 |
From: |
CJManders AT lbl DOT gov (Christopher Jay Manders) |
Date: |
Thu, 21 Oct 2004 12:03:08 -0700 |
In case anyone else needs this: xp_fw_fix.bat
echo off
REM ====================================================
REM Copyright 2004: Christopher Jay Manders
REM Chris.Manders AT UnixHelpDesk DOT COM
REM Version: 1.0
REM ----------------------------------------------------
REM Description:
REM This .bat file is intended for Windows XP (with SP2)
REM It allows backups to pass through the firewall for
REM backup services.
REM ====================================================
set allowed_subnets="1.2.0.0/16,1.2.0.0/16"
echo.
echo Configuring The Windows XP Firewall for LBNL BackuP Services...
echo.
netsh firewall set portopening TCP 13782 "bpcd - Backup Service" enable custom
%allowed_subnets% > NUL 2>&1
netsh firewall set portopening TCP 13720 "bprd - Backup Service" enable custom
%allowed_subnets% > NUL 2>&1
echo.
REM ===============================================================
echo Done.
pause
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Veritas-bu] BAT file to open Firewall port with XP SP2,
Christopher Jay Manders <=
|
|
|