How to specify wildcards in proxy exceptions in Firefox?

Solution 1:

Came across the most complete reference on this: http://www-archive.mozilla.org/quality/networking/docs/aboutno_proxy_for.html

In summary:

  • Any domain in the list is matched using "ends with" logic, so "site.com" would match "mysite.com" in url. (Wildcard at the beginning of a domain is redundant and ignored.)
  • IP address can only be expressed in CIDR format and are only matched if literal IP is used in the url, i.e. no DNS lookup is performed before checking this list.
  • If the list contains <local> and the domain part of the url contains no dot, then proxy is not used.
  • Wildcard not at the beginning and IPv6 addresses are not supported

If your requirements cannot be satisfied by above, writing a PAC file is the only way.

Solution 2:

You can define wildcards with the CIDR notation. For example:

10.0.0.0/8

specifies the range from 10.0.0.0 up to 10.255.255.255

See for more information: CIDR