Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

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

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 2 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 4 Offline
      4920441
      last edited by

      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.

      Cheers,

      U G

      1 Reply Last reply Reply Quote 0
      • 4 Offline
        4920441
        last edited by

        Hey,

        not a single hint?

        1 Reply Last reply Reply Quote 0
        • M Offline
          mhab12
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.