Description | This article describes the issue when the explicit proxy is not listening even after configuring it under proxy settings. |
Scope | FortiProxy. |
Solution |
While configuring the explicit proxy feature in the FortiProxy device, the interface is not responding to proxy port traffic.
Even after configuring the proxy settings, the interface is not responding to proxy traffic:
Make sure to have the Explicit web proxy setting enabled under the port3 as per the above image:
Now to verify it take the below capture to verify the traffic on the proxy port:
kvm72 # diagnose sniffer packet any "port 8080" 4 0 l
The same can be verified through a HAR file on the user browser:
The GET request was sent to a proxy port over the 8080 port.
Now the traffic is hitting the proxy interface on the correct port. If the user is still not able to browse the internet, verify the below:
Collect the WAD debug and look for the below keywords:
Log_search:1 (This ensures the CONNECT request was sent properly from the machine).
CONNECT yahoo.com:443 HTTP/1.1
Log_search:2 (This makes sure that proxy connection was established, and traffic was tunneled to with connect method):
Log_search:3 (This ensures the DNS query was resolved through the proxy):
[I][p:1066] wad_dns_parse_name_resp :205 0: DNS response received for remote host consent.yahoo.com req-id=4 ipv4=1
Log_search:4 (This ensures a correct policy match):
[I][p:1066][s:203831718][r:16777286] wad_http_req_policy_set :11736 match policy-id=1
Related articles: Technical Tip: Initial steps to troubleshoot Explicit Proxy on FortiProxy Troubleshooting Tip: Troubleshoot the explicit proxy in FortiGate |