[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



if(remote) {
  read remote;
  write client
} else if(client) {
  read client;
  write remote;
}

That may work.
On Fri, 2004-11-12 at 15:15, Fletch wrote:
> >>>>> "Christopher" == Christopher Fowler <cfowler at outpostsentinel.com> writes:
> 
>     Christopher> My proxy server is 192.168.3.1:8181 and will only
>     Christopher> proxy to machines across a wan via dial-up and vtun.
>     Christopher> I need from IE somehow use that proxy on a temp basis
>     Christopher> without having to go into proxy setup each time a
>     Christopher> user needs access to those machines.
> 
>     Christopher> One idea was to try this:
> 
&gt;     Christopher&gt; <a  rel="nofollow" href="http://192.168.3.1:8181/10.0.5.176/";>http://192.168.3.1:8181/10.0.5.176/</a>
&gt; 
&gt;     Christopher&gt; That does not even look right.  Is there any way to
&gt;     Christopher&gt; use a proxy server on demand or should I create a
&gt;     Christopher&gt; proxy server that will support that feature.  Maybe
&gt;     Christopher&gt; the browser will choke?
&gt; 
&gt; 
&gt; You could always write a CGI which takes everything after it
&gt; (i.e. path_info) and use LWP to retrieve the contents through a
&gt; proxy.  Of course the rub there is that you'd need to see if the
&gt; content type is text/html and massage any URLs in it to point through
&gt; the proxy as well, and that's not going to be an extremely easy task
&gt; (you can do it with off the shelf modules in Perl, it's just not 2-3
&gt; lines to do so (for normal 72-character values of line)).
&gt; 
&gt; 
&gt; As for the access control, you want to set up an acl that's your OK
&gt; network and then do something like:
&gt; 
&gt; http_access allow my_net
&gt; http_access deny !my_net
&gt; 
&gt; 
&gt; The default sample squid config should have examples of this, just
&gt; search for &quot;acl&quot; and &quot;http_access&quot;.


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00540" href="msg00540.html">[ale] Next proxy question</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00543" href="msg00543.html">[ale] Next proxy question</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (Fletch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00551.html">[ale] Re: Next proxy question</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00553.html">[ale] somewhat OT: sysadmin must-knows?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00543.html">[ale] Next proxy question</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00551.html">[ale] Re: Next proxy question</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00552"><strong>Date</strong></a></li>
<li><a href="threads.html#00552"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>