You are hereForums / Support / [Resolved] Transparent Proxy

Version 1.9.9 is out. We have added support for Youtube mobile videos, Facebook, AOL and MySpace videos as well. Fixed caching issues for some already supported websites. Options to control cache directory selection algorithm, bandwidth usage by videocache, etc. More robust videocache scheduler with a lot more options and features. Have a look at changelog for more details. If you have purchased Videocache in last one year, Contact Us to claim your free upgrade. Please mention the email address using which you purchased Videocache. New users proceed to Pricing Page right now, secure your copy and enjoy caching :-) Also, check our new and simplified upgrade policy :-)

[Resolved] Transparent Proxy


5 replies [Last post]
Anonymous
[Resolved] Transparent Proxy
Printer-friendly versionSend to friend

I've installed Videocache (v. 1.6) and it works fine with explicit proxy scenario, but with transparent proxy it doesn't works!!

Here the error after I changed squid.conf from "http_port 8080" to "http_port 8080 transparent" :

File "/usr/lib/python2.4/httplib.py", line 804, in endheaders
self._send_output()
File "/usr/lib/python2.4/httplib.py", line 685, in _send_output
self.send(msg)
File "/usr/lib/python2.4/httplib.py", line 652, in send
self.connect()
File "/usr/lib/python2.4/httplib.py", line 636, in connect
raise socket.error, msg
error: (111, 'Connection refused')

Somebody make it work's it transparent proxy scenario?

admin's picture
Offline
Joined: Nov 2 2008

Hi!

Please make sure that your squid acls allow proxy to access Internet via itself. So an acl like

acl this_machine src 127.0.0.0/8
http_access allow this_machine

would normally do.

Also check your /etc/videocache.conf for proxy and cache_host options and make sure they are correct.

Thank you for considering videocache :)

Anonymous (not verified)

Now it works! Thanks!!

I just add on my Squid's ACLs my DMZ network where is my Proxy.

Thank you very much!!

Congratulations to all VideoCache Team!

admin's picture
Offline
Joined: Nov 2 2008

Hi!

I am glad to hear that it finally worked :D

Thanks for using videocache :)

Anonymous (not verified)

Little question...

fine work with transparent proxy using iptables to redirect tcp port 80 to tcp port 8080 (squin in your configuration is working on ths port)
but if I use dns manipulation to obtain a transparent proxy only for some site whithout using iptables (i.e. I can resolve in my network www.youtube.com with the address of the proxy) how can I configure the sistem to work?

apache cannot run on the same (tcp 80) port obviously....

Can I configure the sistem (using more than one address) so that apache and squid can work both on tcp port 80?

or if necessary can I use two different machine?

Many thanks for your help and sorry for my bad english

Have a nice day

admin's picture
Offline
Joined: Nov 2 2008

Hi!

I am sorry but I never worked with systems in such a configuration. Please try in some squid forums or in #squid channel on IRC.

Thank you for using videocache :)

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

My Book on Squid

Purchase/Renew

One License - USD $399
One License - USD $349*
Validity - One Year
Need more? Contact Us
*Includes free upgrades and support for one year.



For details, check pricing.

Recent comments

Who's online

There are currently 0 users and 101 guests online.