Skip to main content
jomof
New Member
Apr 4, 2025 5:28 PM UTC
Question

How to prevent the Fortigte device from access the Internet.

Hello expert,

 

I have a hub and Spoke Topology.

I configure  spoke (Lethem) to to reach Head Office using a vpn thru the internet.

We have a static route on the spoke to allow all clients to access the internet by backhauling the request to the Head Office checkpoint firewall.

Because I configured a Wan interface on Lethem to access the internet to create vpn  ipsec tunnel to Head Office, I notice the FortiGate device itself is able to access the internet.

How can I stop the Fortigate device from access the internet?

 

Regards

 

1 reply

AEK
SuperUser
SuperUser
Apr 4, 2025 7:34 PM UTC

Hi Jomof

If you want your client still access to Internet through the S2S VPN but not FGT, then you just need to remove the current default route (0.0.0.0) and replace it with the following:

  • dst: IP address of the remote peer (HQ Check Point FW)
  • intf: wan1 (or the interface that you are currently using for default GW)
  • gw: x.x.x.x (the IP that you are currently using as default GW)

 

Another method (heavier) is to use 2 VDOMs. The management VDOM has no default route (only a route to LANs for management), and the client VDOM has a default route like you did initially (0.0.0.0 though wan1).

AEK
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT