OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: Toxsickcity on January 11, 2025, 07:54:33 AM

Title: Https redirect squid takes down my wifi network
Post by: Toxsickcity on January 11, 2025, 07:54:33 AM
Hello,

I'm new to opnsense.

I installed the squid proxy

I have http and https enabled, I also have used auto config for Nat->port forwarding for the redirects to the squid.

When I disable the redirects for https all is ok. If I enable the redirect, my wifi goes down for mobile phones.. (My phone's so longer have internet and starts using 4G mobile data)

My wifi is two TPlink omada APs and the controller is software based running on a home PC.

To restore internet and wifi on phones I need to turn off the https NAT port forwarder.


Thanks,
Tox.
Title: Re: Https redirect squid takes down my wifi network
Post by: bartjsmit on January 11, 2025, 08:43:21 AM
Your WiFi is not affected by Squid (layer 1 vs layer 7). What happens is that your WiFi clients cannot reach a test website and decide you have no route to the internet.

Troubleshoot with a WiFi laptop rather than a phone. Take packet traces in Wireshark on the laptop and on OPNsense if the workstation traffic doesn't show you the way.

Remember throughout - KISS makes happy users, proxies break communication protocols and it's always DNS. ;-)

Bart...
Title: Re: Https redirect squid takes down my wifi network
Post by: Patrick M. Hausen on January 11, 2025, 12:03:26 PM
@Bart 💯