<?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[1:1 NAT reverse traffic sent to wrong gateway]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I am having an issue in my setup (pfSense 2.4.2_1) which I believe can be related to outbound NAT flows, but I haven't been able to sort out yet.</p>
<p dir="auto">My setup is:</p>
<ol>
<li>LAN side of pfSense connected to a few hosts, and in particular to a host with IP address 10.20.5.6.</li>
<li>I have a 1:1 NAT rule that maps pfSense WAN IP 192.168.1.9 to this host 10.20.5.6.</li>
<li>On the WAN side of pfSense I have 2 gateways: 192.168.1.201, to reach a remote network 192.168.4.0/24 and 192.168.1.1, which is the default gateway.</li>
</ol>
<p dir="auto">My issue is:</p>
<ol>
<li>if from 10.20.5.6 I ping an host on 192.168.4.0/24, I see that the correct route via 192.168.1.201 is correctly selected, but on the opposite direction.</li>
<li>when pinging from 192.168.4.0/24 to 192.168.1.9, I see the corresponding packets being correctly forwarded to 10.20.5.6, as per the 1:1 rule, but the replies, destined to the network 192.168.4.0/24, are not forwarded to the right gateway (192.168.1.201) and are sent to the default gateway 192.168.1.1.</li>
</ol>
<p dir="auto">I have been trying to play with the settings in System/Advanced/Firewall &amp; NAT&gt;Network Address Translation, and also with Firewall/NAT/Outbound&gt;Outbound NAT Mode, but couln't getting it working as expected<br />
<img src="/public/_imported_attachments_/1/net-diag.JPG" alt="net-diag.JPG" class="img-markdown  img-fluid" /><br />
<img src="/public/_imported_attachments_/1/net-diag.JPG_thumb" alt="net-diag.JPG_thumb" class="img-markdown  img-fluid" /><br />
<img src="/public/_imported_attachments_/1/routes-gw.JPG" alt="routes-gw.JPG" class="img-markdown  img-fluid" /><br />
<img src="/public/_imported_attachments_/1/routes-gw.JPG_thumb" alt="routes-gw.JPG_thumb" class="img-markdown  img-fluid" /><br />
<img src="/public/_imported_attachments_/1/network-add-translation.JPG" alt="network-add-translation.JPG" class="img-markdown  img-fluid" /><br />
<img src="/public/_imported_attachments_/1/network-add-translation.JPG_thumb" alt="network-add-translation.JPG_thumb" class="img-markdown  img-fluid" /><br />
<img src="/public/_imported_attachments_/1/NAT-outbound.JPG" alt="NAT-outbound.JPG" class="img-markdown  img-fluid" /><br />
<img src="/public/_imported_attachments_/1/NAT-outbound.JPG_thumb" alt="NAT-outbound.JPG_thumb" class="img-markdown  img-fluid" /><br />
<img src="/public/_imported_attachments_/1/nat-port-fwd.JPG" alt="nat-port-fwd.JPG" class="img-markdown  img-fluid" /><br />
<img src="/public/_imported_attachments_/1/nat-port-fwd.JPG_thumb" alt="nat-port-fwd.JPG_thumb" class="img-markdown  img-fluid" /></p>
]]></description><link>https://forum.netgate.com/topic/127228/1-1-nat-reverse-traffic-sent-to-wrong-gateway</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 15:18:45 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/127228.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Feb 2018 12:51:40 GMT</pubDate><ttl>60</ttl></channel></rss>