Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.16 KB

what-options-exist-for-selective-proxying.md

File metadata and controls

35 lines (26 loc) · 1.16 KB
title type category weight
What options exist for selective proxying?
faq
Networking
4

There are a number of ways to accomplish selective proxying.

1 - Via a Browser Add-on/Extension

2 - Via Global Exclusions

3 - Via a PAC (Proxy Auto-Config) File

  • You can create your own PAC (Proxy Auto-Config) file and dynamically set proxying as you need, then point your browser at it on your harddrive using the file:/// scheme. For example:
function FindProxyForURL(url, host) {
    if (shExpMatch(host, "*.example.org")) {
        return "PROXY localhost:8080"; //Use ZAP for *.example.org
    }
    // Go directly to the WWW for everything else
    return "DIRECT";
}

Firefox PAC example

4 - Set "No Proxy For" in Your Browser

  • Most modern browsers allow users to specify domains or networks for which the traffic should not be proxied.
    Firefox No Proxy For example