<?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 nat issues]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">first of all I'm sorry for my poor English...</p>
<p dir="auto">I have problem with pfsense (2.4.4-p3) an IPsec NAT. I have an IPsec with my private cloud perfectly working:<br />
Local LAN: 192.168.0.0/24<br />
Remote LAN (cloud site): 192.168.5.0/24</p>
<p dir="auto">I have configured the phase 2 as shown in the followin screenshot (LAN_Cliente subnet = 192.168.0.0/24)<br />
<img src="/assets/uploads/files/1571739414454-first_phase_2.png" alt="First_Phase_2.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The hosts in local lan (192.168.0.0/24) can ping the host in remote lan (192.168.5.0/24) and vice versa.</p>
<p dir="auto">Now I have configured a VPN for road warrion using OpenVPN and the IPv4 tunnel is 192.168.10.0/24. I cannot add a second IPsec VPN to my cloud, so I need to nat my OpenVPN IPv4 tunnel (192.168.10.0/24) with my local lan (192.168.0.0/24). To do that I added a second Phase 2 to my IPsec conf, whith the following conf:<br />
Local Network: OPENVPN_ADMIN subnet (192.168.10.0/24)<br />
NAT/BINAT Traslation: LAN_CLIENTE subnet (192.168.0.0/24)<br />
Remote Network: Network 192.168.5.0/24<br />
The rest of phase 2 conf is the same of the first phase 2. Then I click on save but if I return on this second phase 2 the field NAT/BINAT Traslation is set to none:<br />
<img src="/assets/uploads/files/1571741603914-second_phase_2.png" alt="Second_Phase_2.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">In few words pfsense doesn't save the field NAT/BINAT Traslation to the value LAN_CLIENTE subnet. Why?<br />
I tried also to set manually  NAT/BINAT Traslation to Network 192.168.10.0/24 and pfsense save correctly this configuration (if I return on this second phase 2 the field NAT/BINAT Traslation is set to Network192.168.10.0/24), but I cannot ping from my OpenVPN network (and also from the pfsense diagnostic tool selecting as source interface OPENVPN _ADMIN) the hosts in remote subnet (192.168.5.0/24). I did a traceroute and the packet stop soon, to the OpenVPN interface (192.168.10.1)</p>
<p dir="auto">For your information:</p>
<ul>
<li>
<p dir="auto">my outbound nat is set to manually</p>
</li>
<li>
<p dir="auto">The firewall rule in IPsec pass everything...</p>
</li>
<li>
<p dir="auto">the firewall rule in OpenVPN interface pass everything...</p>
</li>
<li>
<p dir="auto">From my local network I can ping hosts connected via OpenVPN and vice versa...</p>
</li>
</ul>
<p dir="auto">Can someone help me please?</p>
<p dir="auto">Thank you very much</p>
]]></description><link>https://forum.netgate.com/topic/147515/ipsec-nat-issues</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Mar 2026 14:06:47 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/147515.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 22 Oct 2019 11:09:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to IPsec nat issues on Fri, 25 Oct 2019 08:28:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prx">@<bdi>prx</bdi></a> first of all your second phase2 is absolutely incorrect - you cross 2 different network. You can try 2 different cases (first one more good):</p>
<ol>
<li>Change OpenVPN subnet to be next subnet after your LAN like 192.168.1.0/24, and after it create only one Phase2 with 192.168.0.0/23</li>
<li>Use BNAT to 1 /32 IP on LAN subnet and reserve this IP in DHCP for not existing static IP so nobody will use it really NEVER in your LAN. I doesn't sure if even this will fix because even this is network collision</li>
</ol>
<p dir="auto">And another question: why you configured 3DES and use 1024 bit key group - this is too low? It totally deprecated... This is due old gw on other side of ipsec?</p>
]]></description><link>https://forum.netgate.com/post/872300</link><guid isPermaLink="true">https://forum.netgate.com/post/872300</guid><dc:creator><![CDATA[dragoangel]]></dc:creator><pubDate>Fri, 25 Oct 2019 08:28:03 GMT</pubDate></item></channel></rss>