[strongSwan] issue connecting to fortigate

Doug Tucker doug.tucker at navigaglobal.com
Thu Jun 25 23:41:35 CEST 2020


Strongswan 5.8.4.  Odd issue connecting to a fortigate.   The tunnel  appears to establish and the SA up.  The fortigate shows phase1 and 2 complete but no traffic is passing.  The logs on the strongsan show something I'm not used to seeing.  It appears somehow that quickmode phase2 is responding on port 500 instead of 4500.  But again, it appears to complete.  Here the info from the logs.  Any ideas?

Jun 25 21:33:28 ip-100-105-8-167 charon: 07[ENC] generating QUICK_MODE response 2098315325 [ HASH SA No KE ID ID ]
Jun 25 21:33:28 ip-100-105-8-167 charon: 07[NET] sending packet: from 1.1.1.1[500] to 2.2.2.2[500] (380 bytes)
Jun 25 21:33:28 ip-100-105-8-167 charon: 08[NET] received packet: from 2.2.2.2[500] to 1.1.1.1[500] (60 bytes)
Jun 25 21:33:28 ip-100-105-8-167 charon: 08[ENC] parsed QUICK_MODE request 2098315325 [ HASH ]
Jun 25 21:33:28 ip-100-105-8-167 charon: 08[IKE] CHILD_SA sph-dr{71} established with SPIs c2b7d129_i 0a24e7dd_o and TS 1.1.0.0/16 === 2.2.0.0/28
Jun 25 21:33:43 ip-100-105-8-167 charon: 06[IKE] sending DPD request
Jun 25 21:33:43 ip-100-105-8-167 charon: 06[ENC] generating INFORMATIONAL_V1 request 1996139877 [ HASH N(DPD) ]
Jun 25 21:33:43 ip-100-105-8-167 charon: 06[NET] sending packet: from 1.1.1.1[500] to 2.2.2.2[500] (92 bytes)
Jun 25 21:33:43 ip-100-105-8-167 charon: 16[NET] received packet: from 2.2.2.2[500] to 1.1.1.1[500] (92 bytes)
Jun 25 21:33:43 ip-100-105-8-167 charon: 16[ENC] parsed INFORMATIONAL_V1 request 3916210465 [ HASH N(DPD_ACK) ]

ipsec statusall:

sph-dr[56]: ESTABLISHED 4 seconds ago, 1.1.1.13.3.3.3]...2.2.2.2[2.2.2.2]
      sph-dr[56]: IKEv1 SPIs: 92bf32eece46a7f9_i fb85b9ec02d6437f_r*, pre-shared key reauthentication in 7 hours
      sph-dr[56]: IKE proposal: AES_CBC_128/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_1536
      sph-dr{71}:  INSTALLED, TUNNEL, reqid 2, ESP SPIs: c2b7d129_i 0a24e7dd_o
      sph-dr{71}:  AES_CBC_128/HMAC_SHA1_96/MODP_1536, 0 bytes_i, 0 bytes_o, rekeying in 7 hours
      sph-dr{71}:   1.1.0.0/16 === 2.2.0.0/28




Doug Tucker
Sr. Director of Networking & Linux Operations

o: 817.975.5832  |  m: 817.975.5832

e: doug.tucker at navigaglobal.com



[cid:image001.png at 01D4FEC7.F32F3010]<https://navigaglobal.com/>

[cid:image002.png at 01D4FEC7.F32F3010]<https://www.facebook.com/navigaglobal>  [cid:image003.png at 01D4FEC7.F32F3010] <https://twitter.com/navigaglobal>   [cid:image004.png at 01D4FEC7.F32F3010] <https://www.linkedin.com/company/navigaglobal/about/>



Newscycle Solutions is now Naviga. Learn more.<https://navigaglobal.com/>

CONFIDENTIALITY NOTICE: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20200625/141014cb/attachment-0001.html>


More information about the Users mailing list