GRE over IPSEC UP but not working
hi,
I'm trying an easy setup in my lab where I've FGT1---FGT_ISP---FGT4 connedted.
I've an ipsec running b/w FGT1 and FGT4 that is up and traffic goes through.
Then I've a gre-tunnel over the IPSEC and an ip address setup over the gre-tunnel itself.
Then I've the following policies:
from lan to wan permit any with NAT
from gre to ipsec permit any with no NAT and way back
from ipsec to wan permit any with no NAT and way back.
configuration on FGT1 (FGT4 is symmetric) is like this:
config system interface ## this is the wan interface edit "port1" set vdom "root" set ip 10.0.13.2 255.255.255.0 set allowaccess ping https ssh http fgfm set type physical set snmp-index 1
FGT1 (gre-tunnel) # show config system gre-tunnel edit "gre1" set interface "vpn1" set remote-gw 10.0.34.2 set local-gw 10.0.13.2 next end
next edit "gre1" set vdom "root" set ip 1.1.1.1 255.255.255.255 ### on FGT ip address is 4.4.4.4/32 set type tunnel set remote-ip 4.4.4.4 set snmp-index 14 set interface "vpn1" next
FGT1 # get router info routing-table all
S* 0.0.0.0/0 [10/0] via 10.0.13.1, port1 C 1.1.1.1/32 is directly connected, gre1 C 4.4.4.4/32 is directly connected, gre1
Whenever I try to ping from FGT4 to FGT1 from 4.4.4.4 to 1.1.1.1 (with source 4.4.4.4)
I get this:
filters=[host 4.4.4.4] 16.117410 gre1 out 4.4.4.4 -> 1.1.1.1: icmp: echo request 16.117434 root out 4.4.4.4 -> 4.4.4.4: icmp: host 1.1.1.1 unreachable 16.117434 root in 4.4.4.4 -> 4.4.4.4: icmp: host 1.1.1.1 unreachable 17.123150 gre1 out 4.4.4.4 -> 1.1.1.1: icmp: echo request 17.123183 root out 4.4.4.4 -> 4.4.4.4: icmp: host 1.1.1.1 unreachable 17.123183 root in 4.4.4.4 -> 4.4.4.4: icmp: host 1.1.1.1 unreachable 18.122841 gre1 out 4.4.4.4 -> 1.1.1.1: icmp: echo request 18.122883 root out 4.4.4.4 -> 4.4.4.4: icmp: host 1.1.1.1 unreachable
I'm not able to further troubleshoot this.
If I remove the IPSEC and I make a GRE tunnel over "internet" everything works and I see packet encapsulated into proto 47.
where am I wrong and how can I further trobleshoot this?
Thanks
