[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Fri Nov 12 15:17:01 2004 -->
- <!--x-from-r13: syrgpu ng culqrnhk.bet (Tyrgpu) -->
- <!--x-message-id: [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 15:17:01 2004</li>
- <li><em>from</em>: fletch at phydeaux.org (Fletch)</li>
- <li><em>in-reply-to</em>: <<a href="msg00540.html">[email protected]</a>> (Christopher Fowler's message of "Fri, 12 Nov 2004 14:59:37 -0500")</li>
- <li><em>references</em>: <<a href="msg00540.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Next proxy question</li>
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".
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
| scary questions." -- Jules =(___)=
| U
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00552" href="msg00552.html">[ale] Next proxy question</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--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>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00542.html">[ale] Squid Question</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00544.html">[ale] Re: Yo</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00540.html">[ale] Next proxy question</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00552.html">[ale] Next proxy question</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00543"><strong>Date</strong></a></li>
<li><a href="threads.html#00543"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>