<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>setting up the proxy....</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">I setup and ran the proxy.pl program.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">My PC is a 10.10. address on a network</FONT>
<BR><FONT SIZE=2 FACE="Arial">the proxy.pl is running on a server on that network, listening on default 8080 (verified).</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I set my IE to use the IP address of the server as the proxy server, and</FONT>
<BR><FONT SIZE=2 FACE="Arial">port 8080.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I verified with tcpdump that the IE is talking to the proxy server.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">BUT...every URL I put into the IE browser comes back with a DNS error.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">The server that the proxy is running on has DNS resolution capability.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Do I need to reboot after switching to proxy mode in IE? or is there more needed?</FONT>
<BR><FONT SIZE=2 FACE="Arial">Or does this only work when the outgoing browser is on the same server as the</FONT>
<BR><FONT SIZE=2 FACE="Arial">proxy server?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">below is the proxy.pl I'm using:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> #!/usr/bin/perl</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> use <A HREF="HTTP::Proxy;">HTTP::Proxy;</A></FONT>
<BR><FONT SIZE=2 FACE="Arial"> use <A HREF="HTTP::Recorder;">HTTP::Recorder;</A></FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> my $proxy = <A HREF="HTTP::Proxy-">HTTP::Proxy-</A>>new();</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> # create a new <A HREF="HTTP::Recorder">HTTP::Recorder</A> object</FONT>
<BR><FONT SIZE=2 FACE="Arial"> my $agent = new <A HREF="HTTP::Recorder;">HTTP::Recorder;</A></FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> # set the log file (optional)</FONT>
<BR><FONT SIZE=2 FACE="Arial"> $agent->file("/tmp/myfile");</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> # set <A HREF="HTTP::Recorder">HTTP::Recorder</A> as the agent for the proxy</FONT>
<BR><FONT SIZE=2 FACE="Arial"> $proxy->agent( $agent );</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> # start the proxy</FONT>
<BR><FONT SIZE=2 FACE="Arial"> $proxy->start();</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> 1;</FONT>
</P>
<P><B><FONT COLOR="#800000" SIZE=2 FACE="Times New Roman">George Gallen</FONT></B>
<BR><FONT COLOR="#800000" SIZE=2 FACE="Times New Roman">Senior Programmer/Analyst</FONT>
<BR><FONT COLOR="#800000" SIZE=2 FACE="Times New Roman">Accounting/Data Division</FONT>
<BR><FONT COLOR="#800000" SIZE=2 FACE="Times New Roman">ggallen@slackinc.com</FONT>
<BR><FONT COLOR="#800000" SIZE=2 FACE="Times New Roman">ph:856.848.1000 Ext 220</FONT>
</P>
<P><B><FONT COLOR="#800000" SIZE=2 FACE="Times New Roman">SLACK Incorporated</FONT></B><FONT COLOR="#800000" SIZE=2 FACE="Times New Roman"> -<I> An innovative information, education and management company</I></FONT>
<BR><U><FONT COLOR="#0000FF" SIZE=2 FACE="Times New Roman"><A HREF="http://www.slackinc.com">http://www.slackinc.com</A></FONT></U>
</P>
</BODY>
</HTML>