<?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[NAT broken for a single rule]]></title><description><![CDATA[<p dir="auto">I'm having a hard time getting to my email server from outside. There's full connectivity from point to point but traffic doesn't even appear in the logs.</p>
<p dir="auto">This is the topology:<br />
<img src="https://fetch.vitanetworks.link/stationary/embeddedsomewhere/pfsense/edge-mx-nat.png" alt="Topology (simplified)" class="img-markdown  img-fluid" /><br />
(Sorry for the ugly map, I only have Visio and Illustrator via RDS and I suck at both.)</p>
<p dir="auto">From my current workstation I can SSH into the public gateway, about 4 routers out through the tunnel and ping back to the edge. I can SSH to the gateway via the public network (using cellular or another tunnel) and ping the edge.</p>
<p dir="auto">I can access locally hosted websites, all need to pass through HAProxy just as the MX traffic without issues.</p>
<p dir="auto">I can telnet (:25) the mail server, the relay servers and the public interface of the proxy server all successfully but not the edge firewall. I am positive the problem is at that point but I without logs I'm sort of lost.</p>
<p dir="auto">I took packet captures and on both sides: I see packets bound for TCP25 arrive but they don't exit further into the network. Besides the remote gateway, this router is the only point where NAT is running, everything inside is routed.</p>
<p dir="auto">NAT:<br />
<img src="https://fetch.vitanetworks.link/stationary/embeddedsomewhere/pfsense/edge-mx-nat2.png" alt="NAT maps" class="img-markdown  img-fluid" /></p>
<p dir="auto">Inbound firewall (interface rules):<br />
<img src="https://fetch.vitanetworks.link/stationary/embeddedsomewhere/pfsense/edge-mx-nat6.png" alt="Interface Rules" class="img-markdown  img-fluid" /></p>
<p dir="auto">Outbound NAT:<br />
<img src="https://fetch.vitanetworks.link/stationary/embeddedsomewhere/pfsense/edge-mx-nat5.png" alt="Interface Rules" class="img-markdown  img-fluid" /></p>
<p dir="auto">As proof things <em>should</em> work  are these screenshots, hosted in these servers following the same path up to almost to the last link.</p>
<p dir="auto">The only thing  I could think of was Suricata but I ruled it out  uninstalling it.</p>
<p dir="auto">Any ideas what's going on? I have no email--well, inbound email. :(</p>
]]></description><link>https://forum.netgate.com/topic/162942/nat-broken-for-a-single-rule</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Nov 2026 22:24:54 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/162942.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Apr 2021 03:39:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NAT broken for a single rule on Thu, 15 Apr 2021 03:50:46 GMT]]></title><description><![CDATA[<p dir="auto">Have you tried to remove the GW's on the rules and let the FW handle them by itself?</p>
]]></description><link>https://forum.netgate.com/post/977958</link><guid isPermaLink="true">https://forum.netgate.com/post/977958</guid><dc:creator><![CDATA[Cool_Corona]]></dc:creator><pubDate>Thu, 15 Apr 2021 03:50:46 GMT</pubDate></item><item><title><![CDATA[Reply to NAT broken for a single rule on Thu, 15 Apr 2021 01:54:21 GMT]]></title><description><![CDATA[<p dir="auto">@skilledinept I don't know if you've read this, but: https://redmine.pfsense.org/issues/11805</p>
<p dir="auto">Switching default route worked for my NAT's, that stopped working with 2.5.1. But yeah, that 2.5.1 made a huge mess.</p>
]]></description><link>https://forum.netgate.com/post/977954</link><guid isPermaLink="true">https://forum.netgate.com/post/977954</guid><dc:creator><![CDATA[Maltempi]]></dc:creator><pubDate>Thu, 15 Apr 2021 01:54:21 GMT</pubDate></item><item><title><![CDATA[Reply to NAT broken for a single rule on Thu, 15 Apr 2021 00:37:00 GMT]]></title><description><![CDATA[<p dir="auto">After the update to 2.5.1 all broke down again. Now no NAT port mapping work, firewall rules work correctly but the actual mapping of the ports doesn't.</p>
<p dir="auto">I'm going to have to suck it up and deal with Mikrotik's CHR's rule system because from experience I know if I downgrade I won't be able to reinstall the old extra packages again. Maybe I could switch places with the proxy still on 2.5.0. IDK. I'm tired. :(</p>
<p dir="auto">Good luck to everyone else, it seems I'm not alone from today's new posts.</p>
]]></description><link>https://forum.netgate.com/post/977945</link><guid isPermaLink="true">https://forum.netgate.com/post/977945</guid><dc:creator><![CDATA[senseivita]]></dc:creator><pubDate>Thu, 15 Apr 2021 00:37:00 GMT</pubDate></item><item><title><![CDATA[Reply to NAT broken for a single rule on Wed, 14 Apr 2021 04:59:24 GMT]]></title><description><![CDATA[<p dir="auto">After reordering the rules I got this:<br />
<img src="/assets/uploads/files/1618374894769-edge-mx-nat4.png" alt="edge-mx-nat4.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">I edited the NAT rule to change the destination for a random entry from the list, saved, applied and came to the interface rules to verify the rule was indeed linked and yeah--it changed to the random value. Then I changed it back to what's supposed to be the correct thing and WAN_HE address chose itself again!</p>
<p dir="auto">It was playing hide-n-seek. I duplicated one of the other rules, changed the port, saved, applied, SSHed, telnet in and... it tells me to hit it straight away. But, that's good news, it didn't even respond before! :D</p>
<p dir="auto"><img src="/assets/uploads/files/1618376311526-edge-mx-nat8.png" alt="edge-mx-nat8.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">I was just some random bug. :)</p>
]]></description><link>https://forum.netgate.com/post/977727</link><guid isPermaLink="true">https://forum.netgate.com/post/977727</guid><dc:creator><![CDATA[senseivita]]></dc:creator><pubDate>Wed, 14 Apr 2021 04:59:24 GMT</pubDate></item></channel></rss>