[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Fri Nov 12 16:03:55 2004 -->
- <!--x-from-r13: psbjyre ng bhgcbfgfragvary.pbz (Quevfgbcure Tbjyre) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Next proxy question -->
- <li><em>date</em>: Fri Nov 12 16:03:55 2004</li>
- <li><em>from</em>: cfowler at outpostsentinel.com (Christopher Fowler)</li>
- <li><em>in-reply-to</em>: <<a href="msg00543.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00540.html">[email protected]</a>> <<a href="msg00543.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Next proxy question</li>
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:
>
> Christopher> <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>
>
> Christopher> That does not even look right. Is there any way to
> Christopher> use a proxy server on demand or should I create a
> Christopher> proxy server that will support that feature. Maybe
> Christopher> the browser will choke?
>
>
> You could always write a CGI which takes everything after it
> (i.e. path_info) and use LWP to retrieve the contents through a
> proxy. Of course the rub there is that you'd need to see if the
> content type is text/html and massage any URLs in it to point through
> the proxy as well, and that's not going to be an extremely easy task
> (you can do it with off the shelf modules in Perl, it's just not 2-3
> lines to do so (for normal 72-character values of line)).
>
>
> As for the access control, you want to set up an acl that's your OK
> network and then do something like:
>
> http_access allow my_net
> http_access deny !my_net
>
>
> The default sample squid config should have examples of this, just
> search for "acl" and "http_access".
</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>