IKEv2 IPsec Config Fortigate
Interface:
config system interface
edit "port2"
set vdom "root"
set ip 14.140.40.108 255.255.255.0
set allowaccess ping https
set type physical
set alias "WAN2"
set role dmz
set snmp-index 2
next
edit "port4"
set vdom "root"
set ip 20.20.20.108 255.255.255.0
set allowaccess ping
set type physical
set alias "LAN"
set snmp-index 8
next
edit "test"
set vdom "root"
set type tunnel
set snmp-index 9
set interface "port2"
next
end
IKEv2 VPN:
config vpn ipsec phase1-interface
edit "test"
set interface "port2"
set ike-version 2
set peertype any
set net-device disable
set proposal aes256-sha256
set dhgrp 2
set nattraversal disable
set transport udp
set remote-gw 14.140.40.109
set psksecret ENC Z/zEmBMV/OPXpUYpqce1Qhyyjw+lpLhe+mrMIoGfYWGP82ua9S2N6gmdjy7sqvysq0GBmjCGKhBe7Iqyst2jEVslwA84hpFSNWwvnE+ZpQsOe6NX0RBXQzw40qVmH7JbzdeYXgqtEmLZshpIuOudVh+OMvbbs9ojeu6xeUfIQ4/regrkDhal6CI12+HWo970gpf211lmMjY3dkVA
next
end
Firewall Policy:
Route:
config router static
edit 1
set dst 10.10.10.0 255.255.255.0
set device "test"
next
end
Comments
Post a Comment