Guest User

Untitled

a guest
Apr 14th, 2026
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. function FindProxyForURL(url, host) {
  2.  
  3. // -------------------------------------------------------
  4. // Bypass rules - traffic goes DIRECT (skips Zscaler cloud)
  5. // -------------------------------------------------------
  6.  
  7. // Bypass whatismyipaddress.com
  8. if (dnsDomainIs(host, ".whatismyipaddress.com") ||
  9. host == "whatismyipaddress.com")
  10. return "DIRECT";
  11.  
  12. // -------------------------------------------------------
  13. // Default: send all other traffic to Zscaler cloud (ZEN)
  14. // -------------------------------------------------------
  15. return return "PROXY ${GATEWAY}:9400; PROXY ${SECONDARY_GATEWAY}:9400; PROXY ${GATEWAY}:80; PROXY ${SECONDARY_GATEWAY}:80; DIRECT";
  16. }
Advertisement
Add Comment
Please, Sign In to add comment