Configure Redundant IPsec VPN with SD-WAN
IPsec Tunnel Interface:
config system interface
edit "tun1-isp1"
set vdom "root"
set ip 172.16.1.1 255.255.255.255
set allowaccess ping
set type tunnel
set remote-ip 172.16.1.2 255.255.255.0
set snmp-index 9
set interface "port1"
next
end
config system interface
edit "tun2-isp2"
set vdom "root"
set ip 172.16.2.1 255.255.255.255
set allowaccess ping
set type tunnel
set remote-ip 172.16.2.2 255.255.255.0
set snmp-index 11
set interface "port2"
next
end
config vpn ipsec phase1-interface
edit "tun1-isp1"
set interface "port1"
set peertype any
set net-device disable
set proposal aes128-sha256
set comments "VPN: -- Created by VPN wizard"
set wizard-type simplified-static-fortigate
set nattraversal disable
set remote-gw 192.168.0.109
set psksecret ENC R9fCWqyeaUHzp0f6Vdapi/LtD+EPW1DlPJ4yIZD9kWnYa9qZrcH0pOkUcgVj68zE9vtWqWm3THdcvcV/CnZQk37YeY9lWiokdWa3qsvF7pcStqop/gD9ET+pZyCdqFb0RKf56vANDnt1/bydknXG/cOMbGKk2C6o3OwpDUOxJfBJB+4hRJZj+3TB5PoaMAQq19mJBVlmMjY3dkVA
next
end
config vpn ipsec phase1-interface
edit "tun2-isp2"
set interface "port2"
set peertype any
set net-device disable
set proposal aes128-sha256
set comments "VPN: -- Created by VPN wizard"
set wizard-type simplified-static-fortigate
set nattraversal disable
set remote-gw 14.140.40.109
set psksecret ENC yRP0+M+n7aixse7oobG75YVzbJ5YDlbaxmHEgtag1fy+PiGZN60A/UpI8U/o1XnkDx2DyGL/X+QqezlYuAEkW4uGdpn4lzyD+y9JLpSzyGUUk1bshaxMtmjxW5mTlQg6H3/atlMwcIaikq/DDMvGzxP28x0UqzWvzLOX4LFwPuMopcFKFonPVpdVNU/F8TzvmgRvYVlmMjY3dkVA
next
end
config vpn ipsec phase2-interface
edit "tun1-isp1"
set phase1name "tun1-isp1"
set proposal aes128-sha256
set auto-negotiate enable
set comments "VPN: -- Created by VPN wizard for SD-WAN"
set src-addr-type name
set dst-addr-type name
set src-name "20.20.20.0/24"
set dst-name "10.10.10.0/24"
next
edit "tun2-isp2"
set phase1name "tun2-isp2"
set proposal aes128-sha256
set auto-negotiate enable
set comments "VPN: -- Created by VPN wizard for SD-WAN"
set src-addr-type name
set dst-addr-type name
set src-name "20.20.20.0/24"
set dst-name "10.10.10.0/24"
next
edit "tun1-isp1-p2"
set phase1name "tun1-isp1"
set proposal aes128-sha256
set auto-negotiate enable
set src-addr-type ip
set dst-addr-type ip
set src-start-ip 172.16.1.1
set dst-start-ip 8.8.8.8
next
edit "tun2-isp2-p2"
set phase1name "tun2-isp2"
set proposal aes128-sha256
set auto-negotiate enable
set src-addr-type ip
set dst-addr-type ip
set src-start-ip 172.16.2.1
set dst-start-ip 8.8.8.8
next
end
Comments
Post a Comment