Squid on LAN as a regular proxy but on opt2 as a transparent

  • Hi,

    I don't know how to handle this…

    The goal is, to get a 'regular' proxy server on the lan interface which is directly accessing the internet for forwarding the lan-clients' requests.

    No big deal, even from scratch... but the second thing is, that there should be another transparent proxy listening on the opt2-interface
    forwarding those requests to an upstream proxy - but only those requests which are coming from opt2.

    Is that possible?

    The intention is, to get some webradios working which work only with an ip address from another country. So I'd like to 'transparently' forward those
    network (opt2) to a proxyserver in that country. Works wonderfully, in a single configuration, but the normal surfing shouldn't be done this way.
    Way too slow, and I don't wanna cause more traffic than I already to to the proxy.

    Thanks for your help.


    U G

  • Hey,

    not a single hint?

  • The transparent redirect part comes from a redirect command written in a configuration file.  I think it is located here: /usr/local/pkg/squid.inc from line 1204 on

    The best advice I can provide would be to start a bounty - there are several people here that would be able to complete this task in just a few minutes, it seems very doable.  The actual commands in the file are Greek to me.  Good luck.

Log in to reply