OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Parent Proxy Slower in OpnSense than a standard squid proxy
« previous next »
  • Print
Pages: [1]

Author Topic: Parent Proxy Slower in OpnSense than a standard squid proxy  (Read 4258 times)

wild1145

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Parent Proxy Slower in OpnSense than a standard squid proxy
« on: July 04, 2019, 11:19:46 am »
Hoping someone may be able to help. I currently have a standard squid proxy running on a linux box, which routes all traffic to an upstream proxy out of my control.

This current setup is fine, but requirements have changed and we need a proper setup, and OpnSense was what I have chosen to implement this setup. However, when I enable the proxy and configure the parent proxy the proxy either flat out doesn't work (Connections time out), or they are so exceptionally slow that it takes between 2 and 5 mins for a page to load, often missing assets.

I know the parent proxy works fine, as it currently works and is how I'm posting this, and the existing squid proxy I built before also works fine and is working with the parent proxy, but when I switch this existing squid proxy out for OpnSense things don't work.

I have even tried disabling the parent proxy option in the GUI, and using a custom set of configuration on the box that imports pre-auth to mirror what I currently have, and that's also had no success...

Any thoughts on how this should be done would be appreciated. 
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Parent Proxy Slower in OpnSense than a standard squid proxy
« Reply #1 on: July 04, 2019, 11:33:03 am »
You should first try to get it running without parent. Check ports, Firewall rules, acl and squid log.
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

wild1145

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Parent Proxy Slower in OpnSense than a standard squid proxy
« Reply #2 on: July 04, 2019, 11:52:44 am »
Can't get anything working without a parent as we have no internet connectivity without going through it.

I've managed to work around it anyway, because we explicitly state the proxy configuration I'm just going to disable the OpnSense Web proxy and use outbound NAT rules to forward it to the upstream proxy. Seems to work well enough in testing now.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Parent Proxy Slower in OpnSense than a standard squid proxy
« Reply #3 on: July 04, 2019, 02:02:53 pm »
Puh, this is hard to troubleshoot from remote :(
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

fabian

  • Moderator
  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Parent Proxy Slower in OpnSense than a standard squid proxy
« Reply #4 on: July 04, 2019, 05:30:25 pm »
FYI: The squid in OPNsense is imho not modified by us. So it should be also just a "standard" squid which may have some patches from FreeBSD/HardenedBSD.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Parent Proxy Slower in OpnSense than a standard squid proxy
 

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