OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: AndreasL on February 20, 2023, 02:10:33 PM

Title: Bug: Proxy Auto Config not working
Post by: AndreasL on February 20, 2023, 02:10:33 PM
Hi,
I want to use "Proxy Auto Config" and need multiple matches rules. the first 12 Rules are working, but when I add another one it is not included in the generated wpad.dat file. When I edit one of the first 12 ones, it works fine. It seems that there is a max limit of 12 Matches rules in wpad creation in OPNSense default web Proxy service.
Could anyone help me how to fix this behavior?
Thank you very much.
Andreas
Title: Re: Bug: Proxy Auto Config not working
Post by: Fright on February 21, 2023, 08:05:39 PM
Hi
there is no hardcoded limits in template (https://github.com/opnsense/core/blob/master/src/opnsense/service/templates/OPNsense/Proxy/wpad.dat)
the problem must be something else.
more info needed to try to reproduce the issue
Title: Re: Bug: Proxy Auto Config not working
Post by: AndreasL on August 23, 2023, 03:49:18 PM
Thank you very much, this code helps me to understand that this was my fault. I forgot to add the match to the rule. with the code and the config export I see the missing matches rule in the proxy rule and since then it works as expected.