Hi Please see the below diagram. Fortigate-port3, PC-eth0 and router-Gi0/0 (default gateway 192.168.1.1 for fortigate1 and PC to access internet) are in the same vlan. 8.8.8.8 is located at Cloud Net. Now both Fortigate1 and PC can ping gateway 192.168.1.1. but Fortigate1 cannot ping 8.8.8.8 while PC can ping 8.8.8.8. Fortigate config also is listed as below. Did I miss some step? Thanks
FortiGate-VM64-KVM # show system interface
edit "port3"
set vdom "root"
set ip 192.168.1.221 255.255.255.0
set allowaccess ping https ssh http
set type physical
set snmp-index 3
next
FortiGate-VM64-KVM # sh router policy
config router policy
edit 1
set input-device "port1"
set dst "0.0.0.0/0.0.0.0"
set gateway 192.168.1.1
set output-device "port3"
next
end
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi Davidy,
Thank you for the query!
As per firewall configuration shared by you, you have configured a policy route on the firewall which is for the transit traffic. Ping which you initiate from the firewall is a self generated traffic, in order for the self generated traffic to route properly on the firewall we would need a route in the routing-table which can be static or dynamic.
Could you try the below commands and test:
config router static
edit 1
set gateway 192.168.1.1
set device "port3"
next
Above commands add a static default route on the firewall.
Hi Davidy,
Thank you for the query!
As per firewall configuration shared by you, you have configured a policy route on the firewall which is for the transit traffic. Ping which you initiate from the firewall is a self generated traffic, in order for the self generated traffic to route properly on the firewall we would need a route in the routing-table which can be static or dynamic.
Could you try the below commands and test:
config router static
edit 1
set gateway 192.168.1.1
set device "port3"
next
Above commands add a static default route on the firewall.
Right, thank you very much!
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1713 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.