Skip to main content
michelr
New Member
April 1, 2026
Question

Exempt URL from Proxy Forwarding

  • April 1, 2026
  • 1 reply
  • 141 views

Hello,
We are using a FortiGate with explicit proxy. It forwards requests to an upstream proxy.

How can I exclude certain URLs so that they are not sent to the upstream proxy, but instead the FortiGate establishes the connection directly?

I tried using the URL match list, but the FortiGate still sends the requests to the upstream proxy.

 

We are on version 7.4.11

1 reply

kaman
Staff
Staff
April 4, 2026

Hi michelr,

A proxy auto-configuration (PAC) file is a text file that instructs a browser to forward traffic to a proxy server, instead of directly to the destination server. It contains JavaScript that specifies the proxy server and optionally, additional parameters that specify when and under what circumstances a browser forwards traffic to the proxy server. For example, a PAC file can specify on what days of the week or what hours of the day traffic is sent to a proxy, or for which domains and URLs traffic is not sent to a proxy.

Please refer to the document below, which describes how to configure the proxy auto-config (PAC) file in FortiGate firewall to bypass the traffic through explicit proxy:


https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-configure-explicit-proxy-auto-config-PAC-to/ta-p/189731


If you have found a solution, please like and accept it to make it easily accessible to others.


Regards,
Aman

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.