I observe some weird behavior. I have configured ZApp to forward traffic using Tunnel with Local Proxy and I want to test bypassing of applications that use system proxy. Bypass rule is based on destination port.
So, the logic I’ve put into Proxy PAC file, which I assigned to Forwarding Profile is
if (shExpMatch(url, "*:9090*")) return "DIRECT";
I have initially tested in IE/Edge but it didn’t work (was always going through Zscaler and http://portquiz.net:9090/ was always blocked by Tunneling protection of Zscaler), so I spent some time troubleshooting (checking PAC is being enforced on system proxy level, if proper PAC is downloaded, etc). I have then tried installing Firefox and Chrome and it worked absolutely fine - anything to port 9090 is now bypassed, everything else is sent to Zscaler.
This is exactly the logic I expected to obeserve, but apparently IE/Edge do not like shExpMatch, or need something else in it to work? I’ve searched Google but didn’t find any clues
Would you be so kind to advise what is the best way to bypass destinations by dst port?
I haven’t tried RegExp as I’d like to avoid this method due to its slowness compared to other.