# config system gre-tunnelFortiGate 2 setting
edit "fgt2”
set remote-gw 10.56.240.119
set local-gw 10.11.0.1
next
end
# config system interface
edit "loopback"
set vdom "root"
set ip 10.11.0.1 255.255.255.255
set allowaccess ping
set type loopback
set snmp-index 13
next
end
# config system gre-tunnel
edit "fgt1"
set interface "port1"
set remote-gw 10.11.0.1
set local-gw 10.56.240.119
next
end
# config system interface
edit "port1"
set vdom "root"
set ip 10.56.240.119 255.255.252.0
set allowaccess ping https ssh http telnet fgfm
set type physical
set snmp-index 1
next
end
Related Articles
Technical Note : Configuring and verifying a GRE tunnel between two FortiGates (static routing)
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.