OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Squid: transparent proxy issue forwarded_for configuration directive
« previous next »
  • Print
Pages: [1]

Author Topic: Squid: transparent proxy issue forwarded_for configuration directive  (Read 3789 times)

Northguy

  • Full Member
  • ***
  • Posts: 118
  • Karma: 11
    • View Profile
Squid: transparent proxy issue forwarded_for configuration directive
« on: December 09, 2018, 02:18:56 pm »
I tried using a transparent proxy to realize a blocklist through Remote ACL (Shallalist), because the Bind/Unbound option does not seem to work (see this topic). The transparent proxy works when browsing webpages, but I experience streaming issues with my Teufel Raumfeld streaming radio.

Each time I disable the port forwards to the proxy, streaming starts working again, so it has something to do with the proxy. After trying a lot of things and pulling my hair for a few days, I think I found a solution by changing the forwarded_for configuration directive in squid.conf from "forwarded_for on" to "forwarded_for transparent".

After starting the service, I can now stream without issues, but I noticed that OPNsense did change this option back to "forwarded_for on" in squid.conf after starting. So now I am wondering: did the service actually load "forwarded_for transparent" and then overwrite again with "forwarded_for on" from the GUI?

Who can answer this question and how can I make "forwarded_for transparent" stick if this is the solution for my problem?   
Logged

Northguy

  • Full Member
  • ***
  • Posts: 118
  • Karma: 11
    • View Profile
Re: Squid: transparent proxy issue forwarded_for configuration directive
« Reply #1 on: December 09, 2018, 08:25:34 pm »
OK.... found the setting in the GUI (at last)... hidden under the advanced options of Services: Web Proxy: Administration:General proxy settings. So issue solved for now.

Pending question: shouldn't it be more logical to have the "forwarded_for transparent" option set together with toggling the 'transparent' checkboxes under Forward Proxy:General Forward Setting?



Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Squid: transparent proxy issue forwarded_for configuration directive
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2