Multiple VXLANs over IPSec using virtual wire pair
Hello,
Has anyone been able to implement multiple VXLANs over virtual wire pair as described in the Fortigate link below? I have tried this in the lab and the IPSec tunnel does not come up and it does not work. Has anyone made this work?
https://kb.fortinet.com/kb/documentLink.do?externalID=FD47557
I setup this in the lab and when I debug ike I get below policy errors. But I am not sure what policy I should be adding, since it is not clear what should be interface other than ipsec in the policy.
ike 0:ipsec: ignoring request to establish IPsec SA, no policy configured ike 0:ipsec:ipsec: IPsec SA connect 3 10.10.10.1->10.10.10.2:0 ike 0:ipsec: ignoring request to establish IPsec SA, no policy configured ike 0:ipsec:ipsec: IPsec SA connect 3 10.10.10.1->10.10.10.2:0
Following is my configuration
-------------------------------
FGT-1 --------
config system interface edit "port1" set vdom "root" set ip 10.10.10.1 255.255.255.0 set allowaccess ping https ssh http set type physical set snmp-index 1
config vpn ipsec phase1-interface edit "ipsec" set interface "port1" set peertype any set proposal des-sha1 set remote-gw 10.10.10.2 set psksecret Vxlantest next end
config vpn ipsec phase2-interface edit "ipsec" set phase1name "ipsec" set proposal des-sha1 set auto-negotiate enable next end
config system vxlan edit "vxlan" set interface "ipsec" set vni 100 set remote-ip "10.10.10.2" next end
config system virtual-wire-pair edit "vwp" set member "port3" "vxlan" set wildcard-vlan enable next end
config firewall policy edit 5 set name "vwp-pol" set srcintf "port3" "vxlan" set dstintf "port3" "vxlan" set srcaddr "all" set dstaddr "all" set action accept set schedule "always" set service "ALL" next end
FGT 2 ------
config system interface edit "port1" set vdom "root" set ip 10.10.10.2 255.255.255.0 set allowaccess ping https ssh http set type physical set snmp-index 1
config vpn ipsec phase1-interface edit "ipsec" set interface "port1" set peertype any set proposal des-sha1 set remote-gw 10.10.10.1 set psksecret Vxlantest next end
config vpn ipsec phase2-interface edit "ipsec" set phase1name "ipsec" set proposal des-sha1 set auto-negotiate enable next end
config system vxlan edit "vxlan" set interface "ipsec" set vni 100 set remote-ip "10.10.10.1" next end
config system virtual-wire-pair edit "vwp" set member "port2" "vxlan" set wildcard-vlan enable next end
config firewall policy edit 5 set name "vwp-pol" set srcintf "port2" "vxlan" set dstintf "port2" "vxlan" set srcaddr "all" set dstaddr "all" set action accept set schedule "always" set service "ALL" next end
