Question
debugging ipsec with nat traversal
Looking to get ipsec between two FGT60C with a view to running ospf through the tunnel. Hence, interface mode etc. FGT2 is behind a NAT router. I' m new to VPNs. I already configured vpn between FGT1 and nat router, now disabled and extending through the router to FGT2 to suit the above. FGT1 <------(NAT router)--> FGT2 I believe a sufficient config skeleton is in place - ike config (nat traversal enabled both ends), basic policies, static routes. The tunnel looks like it is trying to come up. Currently there is traffic in both directions on UDP:4500 but the tunnel does not come up. In another recent thread Silvia suggested using diag deb appl ike -1 In the same thread enmoc suggests diag deb flow. 1. Given I have end to end connectivity is there any point in using flow? What filter is suggested? diag sni pac already shows the traffic. A sample of the debug is
diag deb appl ike -1 ike 0:to-remote-vpn:15761: sent IKE msg (R-U-THERE): 192.168.x.142:4500->192.168.y.2:4500, len=92 ike 0: comes 192.168.y.2:4500->192.168.x.142:4500,ifindex=8.... ike 0: IKEv1 exchange=Informational id=56aaf214090a1f2a/19936a311a003ea5:97100104 len=92 ike 0: found to-remote-vpn 192.168.x.142 8 -> 192.168.y.2:4500 ike 0:to-remote-vpn:15761: notify msg received: R-U-THERE ike 0:to-remote-vpn:15761: confirmed nat-t RFC 3947 ike 0:to-remote-vpn:15761: sent IKE msg (R-U-THERE-ACK): 192.168.x.142:4500->192.168.y.2:4500, len=92 ike 0: comes 192.168.y.2:4500->192.168.x.142:4500,ifindex=8.... ike 0: IKEv1 exchange=Informational id=56aaf214090a1f2a/19936a311a003ea5:6e7156ad len=92 ike 0: found to-remote-vpn 192.168.x.142 8 -> 192.168.y.2:4500 ike 0:to-remote-vpn:15761: notify msg received: R-U-THERE-ACK ike 0:to-remote-vpn: link is idle 8 192.168.x.142->192.168.y.2:4500 dpd=1 seqno=b50e ike 0:to-remote-vpn:15761: send IKEv1 DPD probe, seqno 46350 ike 0:to-remote-vpn:15761: confirmed nat-t RFC 3947 increment seqno, repeatThe output shows lots of R-U-THERE and R-U-THERE-ACK at both ends continuously but nothing after that. There is also an entry saying " confirmed nat-t RFC3947" which would seem to be a step in the right direction. It seems that both FGT1 and FGT2 are sending R-U-THERE. I have NOT set up port forwarding on the nat router, presumed that FGT2 would bring up the tunnel. 2. What is the next expected step and what might be the config fault stopping it? Is there some other debug I can use to give me a clue or is it already in front of me? Thanks in advance,
