Bug: Proxy Auto Config not working

Started by AndreasL, February 20, 2023, 02:10:33 PM

Previous topic - Next topic
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

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

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.