<?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 to port 80 broken but NAT to port 81 works &#x2F; SYN but no ACK]]></title><description><![CDATA[<p dir="auto">I have a NAT forward to a web server on the LAN.  I have a rule allowing traffic from any host to the WAN address.</p>
<p dir="auto">Rules look like this:<br />
IPv4 TCP * * webserver 80 (HTTP) * none<br />
IPv4 TCP * * webserver 81         * none</p>
<p dir="auto">NAT looks like this:<br />
WAN TCP * * WAN address 80 (HTTP) webserver 80 (HTTP)<br />
WAN TCP * * WAN address 81         webserver 80 (HTTP)</p>
<p dir="auto">When I try to telnet to port 80 from a box outside the network, I get this in tcpdump:</p>
<p dir="auto">IP 1.2.3.4.55826 &gt; 172.16.17.3.http: S 3025942183:3025942183(0) win 14600 &lt;mss 8="" 4095152271="" 1460,sackok,timestamp="" 0,nop,wscale=""&gt;IP 172.16.17.3.http &gt; 1.2.3.4.55826: S 474696829:474696829(0) ack 3025942184 win 5792 &lt;mss 7="" 79668196="" 1460,sackok,timestamp="" 4095152271,nop,wscale=""&gt;IP 1.2.3.4.55826 &gt; 172.16.17.3.http: S 3025942183:3025942183(0) win 14600 &lt;mss 8="" 4095153271="" 1460,sackok,timestamp="" 0,nop,wscale=""&gt;P 172.16.17.3.http &gt; 1.2.3.4.55826: S 474696829:474696829(0) ack 3025942184 win 5792 &lt;mss 7="" 79669196="" 1460,sackok,timestamp="" 4095152271,nop,wscale=""&gt;Basically, SYN with no ACK making it back to the client.</p>
<p dir="auto">If I telnet to port 81 on the WAN interface (which is redirected to port 80 on the webserver), I get this:<br />
IP 1.2.3.4.49708 &gt; 172.16.17.3.http: S 664973534:664973534(0) win 14600 &lt;mss 8="" 4095141468="" 1460,sackok,timestamp="" 0,nop,wscale=""&gt;IP 172.16.17.3.http &gt; 1.2.3.4.49708: S 415957:415957(0) ack 664973535 win 5792 &lt;mss 7="" 79657405="" 1460,sackok,timestamp="" 4095141468,nop,wscale=""&gt;IP 1.2.3.4.49708 &gt; 172.16.17.3.http: . ack 1 win 58 &lt;nop,nop,timestamp 79657405="" 4095141737=""&gt;IP 1.2.3.4.49708 &gt; 172.16.17.3.http: P 1:6(5) ack 1 win 58 &lt;nop,nop,timestamp 79657405="" 4095143558=""&gt;IP 172.16.17.3.http &gt; 1.2.3.4.49708: . ack 6 win 46 &lt;nop,nop,timestamp 79659493="" 4095143558=""&gt;So, full success.  No problems.</p>
<p dir="auto">I'm trying to figure out why port 81 NAT forward to port 80 webserver WORKS but port 80 NAT forward to port 80 web server does NOT work.</p>
<p dir="auto">I've turned off squid and tested it.  No change.  I've tried tweaking different settings, variables.  No change.</p>
<p dir="auto">Anyone have any bright ideas?&lt;/nop,nop,timestamp&gt;&lt;/nop,nop,timestamp&gt;&lt;/nop,nop,timestamp&gt;&lt;/mss&gt;&lt;/mss&gt;&lt;/mss&gt;&lt;/mss&gt;&lt;/mss&gt;&lt;/mss&gt;</p>
]]></description><link>https://forum.netgate.com/topic/81469/nat-to-port-80-broken-but-nat-to-port-81-works-syn-but-no-ack</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 16:45:27 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/81469.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Mar 2015 15:50:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NAT to port 80 broken but NAT to port 81 works &#x2F; SYN but no ACK on Wed, 01 Apr 2015 03:58:18 GMT]]></title><description><![CDATA[<p dir="auto">The server's sending the SYN ACK in response, the question is why doesn't it get to the client. Does it leave WAN?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derelict">@<bdi>Derelict</bdi></a>:</p>
<blockquote>
<p dir="auto">I thought NAT took precedence over services listening on the firewall.</p>
</blockquote>
<p dir="auto">It does, that's not relevant here.</p>
]]></description><link>https://forum.netgate.com/post/532870</link><guid isPermaLink="true">https://forum.netgate.com/post/532870</guid><dc:creator><![CDATA[cmb]]></dc:creator><pubDate>Wed, 01 Apr 2015 03:58:18 GMT</pubDate></item><item><title><![CDATA[Reply to NAT to port 80 broken but NAT to port 81 works &#x2F; SYN but no ACK on Tue, 31 Mar 2015 15:23:22 GMT]]></title><description><![CDATA[<p dir="auto">I thought NAT took precedence over services listening on the firewall.</p>
<p dir="auto">But a quick test would be to be sure the web configurator is set to:</p>
<p dir="auto"><strong>Protocol:</strong> <em>HTTPS</em><br />
<strong>WebGUI redirect:</strong> <em>Unchecked</em></p>
<p dir="auto">These are on <strong>System &gt; Advanced, Admin Access tab</strong></p>
]]></description><link>https://forum.netgate.com/post/532719</link><guid isPermaLink="true">https://forum.netgate.com/post/532719</guid><dc:creator><![CDATA[Derelict]]></dc:creator><pubDate>Tue, 31 Mar 2015 15:23:22 GMT</pubDate></item><item><title><![CDATA[Reply to NAT to port 80 broken but NAT to port 81 works &#x2F; SYN but no ACK on Tue, 31 Mar 2015 13:59:56 GMT]]></title><description><![CDATA[<p dir="auto">Maybe PFSense is using port 80 for its web interface?</p>
]]></description><link>https://forum.netgate.com/post/532693</link><guid isPermaLink="true">https://forum.netgate.com/post/532693</guid><dc:creator><![CDATA[MLIT]]></dc:creator><pubDate>Tue, 31 Mar 2015 13:59:56 GMT</pubDate></item></channel></rss>