Description
This article describes how to configure VXLAN over IPsec for multiple VLANs.
Solution
FGT1 |
FGT2 |
Phase1 config:
config vpn ipsec phase1-interface edit "ipsec" set interface "wan1" set peertype any set net-device disable set proposal aes256-sha1 set remote-gw 1.1.1.2 set psksecret xx next end
Phase2 config:
config vpn ipsec phase2-interface edit "ipsec" set phase1name "ipsec" set proposal aes256-sha1 set auto-negotiate enable next end
Tunnel interface config:
config system interface edit "ipsec" set vdom "root" set ip 2.2.2.2 255.255.255.255 set allowaccess ping set type tunnel set remote-ip 2.2.2.1 255.255.255.252 set snmp-index 20 set interface "wan1" next |
Phase1 config:
config vpn ipsec phase1-interface edit "ipsec" set interface "wan1" set peertype any set net-device disable set proposal aes256-sha1 set remote-gw 1.1.1.1 set psksecret xx next end
Phase2 config:
config vpn ipsec phase2-interface edit "ipsec" set phase1name "ipsec" set proposal aes256-sha1 set auto-negotiate enable next end
Tunnel interface config:
config system interface edit "ipsec" set vdom "root" set ip 2.2.2.1 255.255.255.255 set allowaccess ping set type tunnel set remote-ip 2.2.2.2 255.255.255.252 set snmp-index 20 set interface "wan1" next |
Related Articles