<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ipsec not finding peer config]]></title><description><![CDATA[<p dir="auto">Hi Guys,<br />
I have two pfsenses on distant location and I want to establish ipsec vpn site to site connection. I followed this documentation : https://docs.netgate.com/pfsense/en/latest/recipes/ipsec-s2s-psk.html</p>
<p dir="auto"><strong>PFSense A :</strong><br />
WAN IP : 46.4.42.59<br />
LAN IP : 192.168.17.254 (network 192.168.17.248/29)</p>
<p dir="auto"><strong>PFSense B :</strong><br />
WAN IP : 81.248.56.192<br />
LAN IP : 192.168.1.254 (network 192.168.1.0/24)</p>
<p dir="auto">Talking about IPSEC here are the conf :<br />
<strong>PFSense A :</strong><br />
Phase 1 :<br />
Remote Gateway : 81.248.56.192<br />
Phase 2 :<br />
Local Network : LAN Subnet<br />
Remote Network : 192.168.1.0/24</p>
<p dir="auto"><strong>PFSense B :</strong><br />
Phase 1 :<br />
Remote Gateway : 46.4.42.59<br />
Phase 2 :<br />
Local Network : LAN Subnet<br />
Remote Network : 192.168.17.248/29</p>
<p dir="auto">Each time I try to connect Site A to Site B, the Site B's Logs say:</p>
<pre><code>Dec 1 14:09:19 iya charon[6193]: 07[NET] &lt;11&gt; received packet: from 46.4.42.59[500] to 192.168.1.254[500] (464 bytes)
Dec 1 14:09:19 iya charon[6193]: 07[ENC] &lt;11&gt; parsed IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) N(HASH_ALG) N(REDIR_SUP) ]
Dec 1 14:09:19 iya charon[6193]: 07[CFG] &lt;11&gt; looking for an IKEv2 config for 192.168.1.254...46.4.42.59
Dec 1 14:09:19 iya charon[6193]: 07[CFG] &lt;11&gt; candidate: 192.168.1.254...0.0.0.0/0, ::/0, prio 1048
Dec 1 14:09:19 iya charon[6193]: 07[CFG] &lt;11&gt; candidate: 192.168.1.254...46.4.42.59, prio 3100
Dec 1 14:09:19 iya charon[6193]: 07[CFG] &lt;11&gt; found matching ike config: 192.168.1.254...46.4.42.59 with prio 3100
Dec 1 14:09:19 iya charon[6193]: 07[IKE] &lt;11&gt; local endpoint changed from 0.0.0.0[500] to 192.168.1.254[500]
Dec 1 14:09:19 iya charon[6193]: 07[IKE] &lt;11&gt; remote endpoint changed from 0.0.0.0 to 46.4.42.59[500]
Dec 1 14:09:19 iya charon[6193]: 07[IKE] &lt;11&gt; 46.4.42.59 is initiating an IKE_SA
Dec 1 14:09:19 iya charon[6193]: 07[IKE] &lt;11&gt; IKE_SA (unnamed)[11] state change: CREATED =&gt; CONNECTING
Dec 1 14:09:19 iya charon[6193]: 07[CFG] &lt;11&gt; selecting proposal:
Dec 1 14:09:19 iya charon[6193]: 07[CFG] &lt;11&gt; proposal matches
Dec 1 14:09:19 iya charon[6193]: 07[CFG] &lt;11&gt; received proposals: IKE:AES_CBC_128/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/MODP_2048
Dec 1 14:09:19 iya charon[6193]: 07[CFG] &lt;11&gt; configured proposals: IKE:AES_CBC_128/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/MODP_2048
Dec 1 14:09:19 iya charon[6193]: 07[CFG] &lt;11&gt; selected proposal: IKE:AES_CBC_128/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/MODP_2048
Dec 1 14:09:19 iya charon[6193]: 07[CFG] &lt;11&gt; received supported signature hash algorithms: sha256 sha384 sha512 identity
Dec 1 14:09:19 iya charon[6193]: 07[IKE] &lt;11&gt; local host is behind NAT, sending keep alives
Dec 1 14:09:19 iya charon[6193]: 07[IKE] &lt;11&gt; remote host is behind NAT
Dec 1 14:09:19 iya charon[6193]: 07[CFG] &lt;11&gt; sending supported signature hash algorithms: sha256 sha384 sha512 identity
Dec 1 14:09:19 iya charon[6193]: 07[IKE] &lt;11&gt; sending cert request for "CN=GermanEngineCA, C=GF, ST=Guyane, L=Cayenne, O=EngineIrie, OU=Germany"
Dec 1 14:09:19 iya charon[6193]: 07[ENC] &lt;11&gt; generating IKE_SA_INIT response 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) CERTREQ N(FRAG_SUP) N(HASH_ALG) N(CHDLESS_SUP) N(MULT_AUTH) ]
Dec 1 14:09:19 iya charon[6193]: 07[NET] &lt;11&gt; sending packet: from 192.168.1.254[500] to 46.4.42.59[500] (497 bytes)
Dec 1 14:09:19 iya charon[6193]: 07[NET] &lt;11&gt; received packet: from 46.4.42.59[4500] to 192.168.1.254[4500] (1236 bytes)
Dec 1 14:09:19 iya charon[6193]: 07[ENC] &lt;11&gt; parsed IKE_AUTH request 1 [ EF(1/2) ]
Dec 1 14:09:19 iya charon[6193]: 07[IKE] &lt;11&gt; local endpoint changed from 192.168.1.254[500] to 192.168.1.254[4500]
Dec 1 14:09:19 iya charon[6193]: 07[IKE] &lt;11&gt; remote endpoint changed from 46.4.42.59[500] to 46.4.42.59[4500]
Dec 1 14:09:19 iya charon[6193]: 07[ENC] &lt;11&gt; received fragment #1 of 2, waiting for complete IKE message
Dec 1 14:09:19 iya charon[6193]: 06[NET] &lt;11&gt; received packet: from 46.4.42.59[4500] to 192.168.1.254[4500] (740 bytes)
Dec 1 14:09:19 iya charon[6193]: 06[ENC] &lt;11&gt; parsed IKE_AUTH request 1 [ EF(2/2) ]
Dec 1 14:09:19 iya charon[6193]: 06[ENC] &lt;11&gt; received fragment #2 of 2, reassembled fragmented IKE message (1904 bytes)
Dec 1 14:09:19 iya charon[6193]: 06[ENC] &lt;11&gt; parsed IKE_AUTH request 1 [ IDi CERT N(INIT_CONTACT) CERTREQ IDr AUTH N(ESP_TFC_PAD_N) SA TSi TSr N(MULT_AUTH) N(EAP_ONLY) N(MSG_ID_SYN_SUP) ]
Dec 1 14:09:19 iya charon[6193]: 06[IKE] &lt;11&gt; received cert request for "CN=GermanEngineCA, C=GF, ST=Guyane, L=Cayenne, O=EngineIrie, OU=Germany"
Dec 1 14:09:19 iya charon[6193]: 06[IKE] &lt;11&gt; received end entity cert "CN=engineirie.com, C=GF, ST=Guyane, L=Cayenne, O=EngineIrie, OU=Germany"
Dec 1 14:09:19 iya charon[6193]: 06[CFG] &lt;11&gt; looking for peer configs matching 192.168.1.254[81.248.56.192]...46.4.42.59[46.4.42.59]
Dec 1 14:09:19 iya charon[6193]: 06[CFG] &lt;11&gt; no matching peer config found
Dec 1 14:09:19 iya charon[6193]: 06[IKE] &lt;11&gt; received ESP_TFC_PADDING_NOT_SUPPORTED, not using ESPv3 TFC padding
Dec 1 14:09:19 iya charon[6193]: 06[ENC] &lt;11&gt; generating IKE_AUTH response 1 [ N(AUTH_FAILED) ]
Dec 1 14:09:19 iya charon[6193]: 06[NET] &lt;11&gt; sending packet: from 192.168.1.254[4500] to 46.4.42.59[4500] (80 bytes)
Dec 1 14:09:19 iya charon[6193]: 06[IKE] &lt;11&gt; IKE_SA (unnamed)[11] state change: CONNECTING =&gt; DESTROYING
</code></pre>
<p dir="auto">Could anybody explain/help me to understand why no peer config are found please ?</p>
]]></description><link>https://forum.netgate.com/topic/195435/ipsec-not-finding-peer-config</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 10:39:15 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/195435.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Dec 2024 18:34:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ipsec not finding peer config on Mon, 02 Dec 2024 12:55:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/viragomann" aria-label="Profile: viragomann">@<bdi>viragomann</bdi></a> thank you very much it now works.</p>
<p dir="auto">It was set as "My IP Address" but seems that it don't work when it is not explicitly set.</p>
]]></description><link>https://forum.netgate.com/post/1197899</link><guid isPermaLink="true">https://forum.netgate.com/post/1197899</guid><dc:creator><![CDATA[enegineirie]]></dc:creator><pubDate>Mon, 02 Dec 2024 12:55:29 GMT</pubDate></item><item><title><![CDATA[Reply to ipsec not finding peer config on Mon, 02 Dec 2024 12:43:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/viragomann" aria-label="Profile: viragomann">@<bdi>viragomann</bdi></a> said in <a href="/post/1197835">ipsec not finding peer config</a>:</p>
<blockquote>
<p dir="auto">State the respective local public IP as "My identifier" in phase 1 on either site.</p>
</blockquote>
<p dir="auto">You are right it fixed it.<br />
It was set to "My IP Address" and not explicitly as IP Adress.<br />
Thank you for this advice</p>
]]></description><link>https://forum.netgate.com/post/1197898</link><guid isPermaLink="true">https://forum.netgate.com/post/1197898</guid><dc:creator><![CDATA[enegineirie]]></dc:creator><pubDate>Mon, 02 Dec 2024 12:43:57 GMT</pubDate></item><item><title><![CDATA[Reply to ipsec not finding peer config on Sun, 01 Dec 2024 22:20:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/enegineirie" aria-label="Profile: enegineirie">@<bdi>enegineirie</bdi></a><br />
State the respective local public IP as "My identifier" in phase 1 on either site.</p>
]]></description><link>https://forum.netgate.com/post/1197835</link><guid isPermaLink="true">https://forum.netgate.com/post/1197835</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Sun, 01 Dec 2024 22:20:34 GMT</pubDate></item></channel></rss>