You are hereForums / Support / [Resolved] Transparent Proxy

Finally, the wait is over!!! Videocache 2.0.0 is here :-) Check changelog for changes and new features in this version. Contact Us for your free upgrade!!

[Resolved] Transparent Proxy


5 replies [Last post]
Anonymous
[Resolved] Transparent Proxy

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 associated with the e-mail address you provide, it will be 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.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters shown in the image.

My Book on Squid

Purchase/Renew

Go to Pricing page to purchase a new license or renew your existing license.

Recent comments

Who's online

There are currently 0 users and 208 guests online.