Skip to main content
alwis
Staff
Staff
October 18, 2022

Technical Tip: How to add query string on Proxy Address

  • October 18, 2022
  • 0 replies
  • 857 views
Description This article describes how to add query string on Proxy Address.
Scope FortiGate, FortiProxy
Solution

Proxy policy addresses
Proxy addresses are designed to be used only by proxy policies. URL Pattern Proxy Address support query string to be added only on the CLI.

The option not visible on GUI.

 

1) To create a URL pattern address in the CLI:

 

edit "rapidgator.net/?r=upload"
set host "test-host"
set path "/" <--- add path
set query "r=upload" <--- add query

set comment "rapidgator.net/?r=upload"
next

 

2) To create a URL pattern address in the GUI:


Go to Policy & Objects - > Addresses.
Select Create New - > Address.
Set the following:
Category to Proxy Address,
Name to URL Regex,
Type to URL Pattern,

 

3) GUI output will display as follow

 

Proxy Address GUI.PNG

 

4. Verify connection to target path 

 

alwis_0-1666108097500.png