Question : Squid NT and Internet Redirection

Hi

I have two internet connections (1 is new) and would like to setup a spare windows 2003 server to be my proxy server.

I intend to use SquidNT for this purpose unless advised otherwise here by you! I have never used Squid before and have no working knowledge of it.

Anyway onto my issues:-

1. Can squid use two internet connections?
2. Can I send and receive emails through this box - ie. from my mailserver forward all emails to the proxy server machine which would send on to Messagelabs and vice versa?

Thanks for the help!

Answer : Squid NT and Internet Redirection

This should calc the runtime in seconds even when passing midnight. It won't work if the vbs script runs for more than 24h
HTH
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
@echo off
For /f "delims=:,. tokens=1-3" %%a in ("%TIME%") do SET HOURS=%%a&SET MINUTES=%%b&SET SECONDS=%%c
SET /A STARTTIME=%HOURS%*3600+%MINUTES%*60+SECONDS
echo %STARTTIME%

echo Running script ...


For /f "delims=:,. tokens=1-3" %%a in ("%TIME%") do SET HOURS=%%a&SET MINUTES=%%b&SET SECONDS=%%c
SET /A ENDTIME=%HOURS%*3600+%MINUTES%*60+SECONDS
echo %ENDTIME%
If %ENDTIME% LSS %STARTTIME% SET /A ENDTIME=%ENDTIME%+86400
SET /A RUNTIME=%ENDTIME%-%STARTTIME%
echo Run time %RUNTIME% seconds
 
Random Solutions  
 
programming4us programming4us