Skip to main content
dabanjm
Explorer
Nov 9, 2025 12:09 PM UTC
Solved

Remote IPsec user can't access HTTP/HTTPS

Hi,

I have created a remote IPsec VPN for remote users. the users can connect to the VPN.

However, they can't access anything in the LAN behind the FortiGate through HTTP or HTTPS.

For example, I can SSH to the FortiGate to manage it; however, I can't access it through HTTP/HTTPS.

I don't have a route issue because I have ping/ssh to the FortiGate/LAN behind it. I don't have a Policy issue as I have allowed all the services.

Model: 401F

Version: v7.6.4.

dabanjm
dabanjmAnswer
Explorer
Jan 6, 2026 12:21 PM UTC
Update: resolved by adjusting the MTU.
Thanks for the help, everyone.
The issue was the MTU size. Since the FortiGate is behind a MikroTik and routing traffic through both IPsec and MPLS,  this caused packet fragmentation because the default MTU was too high for the combined encapsulation overhead.
I fixed it by overriding the tunnel MTU:
config system interface
edit <IPsec interface>
    set mtu-override enable
    set mtu 1300
    next
end
This solved the connectivity issues immediately.
Used AI to help summarize this troubleshooting fix - hope it helps the next person!

17 replies

AEK
SuperUser
SuperUser
Nov 9, 2025 12:28 PM UTC

Hi

Fist of all, try use "diag sniffer ..." to see if the HTTP(S) requests are reaching the FGT, and if they are forwarded by the FGT.

Also check your client's proxy configuration. It is probably sending the HTTP(S) requests to somewhere else.

Translate
AEK
dabanjm
dabanjmAuthor
Explorer
Nov 9, 2025 1:00 PM UTC

Hi,

Thank you for your response.

I have captured the traffic before, and I can see that HTTP(S) requests are reaching the FGT, and FGT is replying (they are doing the TCP handshake); however, suddenly the FGT sends FIN.

I don't have any issues connecting to the FGT through SSL VPN from another FGT that is connected to it.

And the issue is not with the FGT's Management only, I have this issue with any LAN device behind the FGT I can ping, SSH, and RDP to, I just can't access them using HTTP(S).

Translate
AEK
SuperUser
SuperUser
Nov 9, 2025 1:30 PM UTC

Then try use the following command to check why FGT is blocking the traffic.

diag debug flow filter addr x.x.x.x
diag debug flow filter ...
diag debug console timestamp enable
diag debug flow show iprope enable
diag debug flow show function-name enable
diag debug flow trace start 100
diag debug enable

Once you run the above command, open a web page to an internal server and collect the logs.

Translate
AEK
ElwinBERRAR
Explorer III
Nov 9, 2025 1:36 PM UTC

HTTP(S) failing while SSH/RDP work often means the flow hits an inspection profile that resets incomplete TLS sessions. Check the policy for deep inspection or web filtering and verify the local-in policy isn’t blocking HTTPS on that interface.

Translate
dabanjm
dabanjmAuthor
Explorer
Nov 10, 2025 9:38 AM UTC

I have disabled all security profiles on the rule, set the certificate inspection to 'no-inspection', and all services are allowed.

Translate
AEK
SuperUser
SuperUser
Nov 10, 2025 8:23 PM UTC

Please share the following:

  • show firewall local-in-policy   (from CLI)
  • show system interface portX

Where portX is the port connected to your internal services to which you want to access (you can hide the IP).

Translate
AEK
dabanjm
dabanjmAuthor
Explorer
Nov 12, 2025 6:55 AM UTC

Please see the output of the requested command in the image below.

2025-11-12 09_47_54-FortiGate - MHO-FGT-01 — Mozilla Firefox.png

Translate
AEK
SuperUser
SuperUser
Nov 12, 2025 8:20 AM UTC

Nothing abnormal so far.

Can you check if you have VIPs and policy routes?

Translate
AEK
AEK
SuperUser
SuperUser
Nov 12, 2025 9:22 AM UTC

The "diag debug flow" output you shared doesn't contain the first lines.

I mean can you share what is before this line:

2025-11-10 12:20:38 id=65308 trace_id=672 func=__iprope_check_one_policy line=2190 msg="checked gnum-10000f policy-4294967295, ret-no-match, act-accept"
Translate
AEK
dabanjm
dabanjmAuthorAnswer
Explorer
Jan 6, 2026 12:21 PM UTC
Update: resolved by adjusting the MTU.
Thanks for the help, everyone.
The issue was the MTU size. Since the FortiGate is behind a MikroTik and routing traffic through both IPsec and MPLS,  this caused packet fragmentation because the default MTU was too high for the combined encapsulation overhead.
I fixed it by overriding the tunnel MTU:
config system interface
edit <IPsec interface>
    set mtu-override enable
    set mtu 1300
    next
end
This solved the connectivity issues immediately.
Used AI to help summarize this troubleshooting fix - hope it helps the next person!
Translate
AEK
SuperUser
SuperUser
Jan 6, 2026 3:47 PM UTC

Thanks for sharing.

Translate
AEK
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024