<?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[Squid port 3128 and Firewall Rules]]></title><description><![CDATA[<p dir="auto">Hello fellow Netgate community members.</p>
<p dir="auto">Can you please help? I have Squid running on ports 3128 and 3129 with custom enabled some splice some bump rules. I keep noticing a default Netgate deny all rule in my logs. I have even attempted to create a rule from 192.168.1.1 and 127.0.0.1 source port 3128 to any Lan device. However I keep seeing logs that it is blocked with or without the rule. WLAN = WIRELESS LAN destinations are lan devices.</p>
<p dir="auto">Here is the logs I see</p>
<p dir="auto"><img src="/assets/uploads/files/1697912475968-screenshot-2023-10-21-at-11.11.50-am-resized.png" alt="Screenshot 2023-10-21 at 11.11.50 AM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Now think this is the Squid proxy or Squid cache responding to requests, however why is it show as blocked?? Does the auto rule not include Squid? Leading to if I add a rule for this condition why does it never show states and continue to block it??</p>
<p dir="auto">I think I have some small setting off, as it should approve the proxy to respond to client requests from the cache right?</p>
<p dir="auto">Everything is working on the system, however the proxy logs show lots of miss for 127.0.0.1 so I think this is the cache being blocked automatically with or without ACLs set up to approve it.</p>
]]></description><link>https://forum.netgate.com/topic/183554/squid-port-3128-and-firewall-rules</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 00:13:23 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/183554.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 21 Oct 2023 18:23:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sun, 12 Jan 2025 17:00:27 GMT]]></title><description><![CDATA[<p dir="auto">Could it be set flags SYN ACK ? and or state type keep or sloppy ?</p>
]]></description><link>https://forum.netgate.com/post/1202422</link><guid isPermaLink="true">https://forum.netgate.com/post/1202422</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sun, 12 Jan 2025 17:00:27 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 20:07:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a></p>
<p dir="auto">Thanks all I see is WAN blocks now !! YES!!! THANK YOU</p>
<p dir="auto"><img src="/assets/uploads/files/1697918857759-screenshot-2023-10-21-at-1.07.06-pm.png" alt="Screenshot 2023-10-21 at 1.07.06 PM.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/1131260</link><guid isPermaLink="true">https://forum.netgate.com/post/1131260</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 20:07:49 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 19:55:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonathanlee">@<bdi>JonathanLee</bdi></a> said in <a href="/post/1131257">Squid port 3128 and Firewall Rules</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a> Thanks!!!! that helps a lot I no longer see double requests for everything and it all still works!!! The XBOX uses transparent and UpNp and all the devices that know about the proxy don't need the transparent!!! YES!!!</p>
</blockquote>
<p dir="auto">Oh, good to hear that :)</p>
]]></description><link>https://forum.netgate.com/post/1131258</link><guid isPermaLink="true">https://forum.netgate.com/post/1131258</guid><dc:creator><![CDATA[mcury]]></dc:creator><pubDate>Sat, 21 Oct 2023 19:55:34 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 19:54:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a> Thanks!!!! that helps a lot I no longer see double requests for everything and it all still works!!! The XBOX uses transparent and UpNp and all the devices that know about the proxy don't need the transparent!!! YES!!!</p>
]]></description><link>https://forum.netgate.com/post/1131257</link><guid isPermaLink="true">https://forum.netgate.com/post/1131257</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 19:54:49 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 19:43:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonathanlee">@<bdi>JonathanLee</bdi></a> said in <a href="/post/1131254">Squid port 3128 and Firewall Rules</a>:</p>
<blockquote>
<p dir="auto">How do you bypass for example one host like 192.168.1.17 from the SSL intercept but still make it use the the transparent proxy?</p>
</blockquote>
<p dir="auto">1- Disable transparent proxy<br />
2- You would have to create the transparent NAT manually, using a ! in the source, with that IP address.<br />
3- That NAT would have to redirect outbound TCP 443 connections to 127.0.0.1 3128.</p>
<p dir="auto">Test like that, if doesn't work, try to change the port in the 3rd step to 3129.</p>
<p dir="auto">I think that will do it.<br />
<img src="/assets/uploads/files/1697917414574-95214dee-5a00-4b21-af44-733c5d20aa41-image.png" alt="95214dee-5a00-4b21-af44-733c5d20aa41-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Note that you would also need to create one for port 80.</p>
]]></description><link>https://forum.netgate.com/post/1131255</link><guid isPermaLink="true">https://forum.netgate.com/post/1131255</guid><dc:creator><![CDATA[mcury]]></dc:creator><pubDate>Sat, 21 Oct 2023 19:43:36 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 19:38:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a> How do you bypass for example one host like 192.168.1.17 from the SSL intercept but still make it use the the transparent proxy?</p>
]]></description><link>https://forum.netgate.com/post/1131254</link><guid isPermaLink="true">https://forum.netgate.com/post/1131254</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 19:38:08 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 19:29:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonathanlee">@<bdi>JonathanLee</bdi></a> said in <a href="/post/1131251">Squid port 3128 and Firewall Rules</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a> Yes I do have both, my XBOX uses the transparent side</p>
</blockquote>
<p dir="auto">Have you bypassed all other hosts that don't need transparent proxy in the Squid settings ?</p>
<p dir="auto">Disable transparent proxy for one sec and test.</p>
<p dir="auto">If it works, enable it again and try to bypass clients that are pointing to the proxy (explicit) in the transparent settings.</p>
]]></description><link>https://forum.netgate.com/post/1131253</link><guid isPermaLink="true">https://forum.netgate.com/post/1131253</guid><dc:creator><![CDATA[mcury]]></dc:creator><pubDate>Sat, 21 Oct 2023 19:29:49 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 19:24:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a> Yes I do have both, my XBOX uses the transparent side</p>
]]></description><link>https://forum.netgate.com/post/1131251</link><guid isPermaLink="true">https://forum.netgate.com/post/1131251</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 19:24:42 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 19:15:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonathanlee">@<bdi>JonathanLee</bdi></a></p>
<pre><code># default deny rules
#---------------------------------------------------------------------------
block in log inet all ridentifier 1000000103 label "Default deny rule IPv4"
block out log inet all ridentifier 1000000104 label "Default deny rule IPv4"
</code></pre>
<p dir="auto">I suppose you have transparent proxy also enabled ? For systems that can't set a proxy by hand ?<br />
If that is the case, disable transparent proxy for one second to see if it is not related to the rdr pass you have up there</p>
]]></description><link>https://forum.netgate.com/post/1131250</link><guid isPermaLink="true">https://forum.netgate.com/post/1131250</guid><dc:creator><![CDATA[mcury]]></dc:creator><pubDate>Sat, 21 Oct 2023 19:15:09 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 19:06:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a> said in <a href="/post/1131246">Squid port 3128 and Firewall Rules</a>:</p>
<blockquote>
<p dir="auto">cat /tmp/rules.debug</p>
</blockquote>
<p dir="auto"><img src="/assets/uploads/files/1697915203743-screenshot-2023-10-21-at-12.06.25-pm-resized.png" alt="Screenshot 2023-10-21 at 12.06.25 PM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Rule</p>
]]></description><link>https://forum.netgate.com/post/1131249</link><guid isPermaLink="true">https://forum.netgate.com/post/1131249</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 19:06:50 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 19:05:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a> Yes I have floating rules for traffic shaping</p>
<p dir="auto"><img src="/assets/uploads/files/1697915100808-screenshot-2023-10-21-at-12.04.45-pm-resized.png" alt="Screenshot 2023-10-21 at 12.04.45 PM.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/1131247</link><guid isPermaLink="true">https://forum.netgate.com/post/1131247</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 19:05:03 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 19:01:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonathanlee">@<bdi>JonathanLee</bdi></a> Its blocking out connections, from pfsense to the host, with a default deny ipv4 rule?</p>
<p dir="auto">Check  with <strong>cat /tmp/rules.debug</strong> in the shell, search for that rule.</p>
<p dir="auto">Do you have any floating rules ?</p>
]]></description><link>https://forum.netgate.com/post/1131246</link><guid isPermaLink="true">https://forum.netgate.com/post/1131246</guid><dc:creator><![CDATA[mcury]]></dc:creator><pubDate>Sat, 21 Oct 2023 19:01:19 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 18:57:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a> any other ideas?</p>
]]></description><link>https://forum.netgate.com/post/1131245</link><guid isPermaLink="true">https://forum.netgate.com/post/1131245</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 18:57:33 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 18:55:54 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1697914493755-screenshot-2023-10-21-at-11.54.31-am-resized.png" alt="Screenshot 2023-10-21 at 11.54.31 AM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Dang still blocks</p>
<p dir="auto"><img src="/assets/uploads/files/1697914551253-screenshot-2023-10-21-at-11.55.25-am-resized.png" alt="Screenshot 2023-10-21 at 11.55.25 AM.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/1131244</link><guid isPermaLink="true">https://forum.netgate.com/post/1131244</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 18:55:54 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 18:54:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonathanlee">@<bdi>JonathanLee</bdi></a> said in <a href="/post/1131242">Squid port 3128 and Firewall Rules</a>:</p>
<blockquote>
<p dir="auto">Changed to conservative optimization</p>
</blockquote>
<p dir="auto">I think that will do it..</p>
]]></description><link>https://forum.netgate.com/post/1131243</link><guid isPermaLink="true">https://forum.netgate.com/post/1131243</guid><dc:creator><![CDATA[mcury]]></dc:creator><pubDate>Sat, 21 Oct 2023 18:54:53 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 18:53:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a> Done set it back to how I had it.</p>
<p dir="auto"><img src="/assets/uploads/files/1697914373096-screenshot-2023-10-21-at-11.52.33-am-resized.png" alt="Screenshot 2023-10-21 at 11.52.33 AM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Rules normalized</p>
<p dir="auto"><img src="/assets/uploads/files/1697914344861-screenshot-2023-10-21-at-11.51.48-am-resized.png" alt="Screenshot 2023-10-21 at 11.51.48 AM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Changed to conservative optimization</p>
]]></description><link>https://forum.netgate.com/post/1131242</link><guid isPermaLink="true">https://forum.netgate.com/post/1131242</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 18:53:13 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 18:51:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonathanlee">@<bdi>JonathanLee</bdi></a> said in <a href="/post/1131239">Squid port 3128 and Firewall Rules</a>:</p>
<blockquote>
<p dir="auto">Maybe they are my URL blocks that still try to connect?</p>
</blockquote>
<p dir="auto">I can't see how could be that.</p>
]]></description><link>https://forum.netgate.com/post/1131241</link><guid isPermaLink="true">https://forum.netgate.com/post/1131241</guid><dc:creator><![CDATA[mcury]]></dc:creator><pubDate>Sat, 21 Oct 2023 18:51:02 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 18:49:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonathanlee">@<bdi>JonathanLee</bdi></a> Leave only one rule, clients to default gateway, TCP port 3128.<br />
Leave this rule with default settings.</p>
<p dir="auto">Try this:</p>
<p dir="auto"><img src="/assets/uploads/files/1697914126144-a7333a87-54fd-4f1c-9ba4-ce1e61b399df-image.png" alt="a7333a87-54fd-4f1c-9ba4-ce1e61b399df-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">There, where you see  Firewall Optimization Options, change to conservative.</p>
<p dir="auto">Note that this option will increase memory usage of the firewall.</p>
]]></description><link>https://forum.netgate.com/post/1131240</link><guid isPermaLink="true">https://forum.netgate.com/post/1131240</guid><dc:creator><![CDATA[mcury]]></dc:creator><pubDate>Sat, 21 Oct 2023 18:49:34 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 18:49:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a> Maybe they are my URL blocks that still try to connect?</p>
]]></description><link>https://forum.netgate.com/post/1131239</link><guid isPermaLink="true">https://forum.netgate.com/post/1131239</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 18:49:31 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 18:46:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a> I even have any flag  set for all the rules tested</p>
<p dir="auto"><img src="/assets/uploads/files/1697913963686-screenshot-2023-10-21-at-11.45.20-am-resized.png" alt="Screenshot 2023-10-21 at 11.45.20 AM.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/1131237</link><guid isPermaLink="true">https://forum.netgate.com/post/1131237</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 18:46:15 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 18:44:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcury">@<bdi>mcury</bdi></a> I wonder why it keeps doing it, it does it for every single lan device in the logs all day. But everything is working on the user end.</p>
]]></description><link>https://forum.netgate.com/post/1131236</link><guid isPermaLink="true">https://forum.netgate.com/post/1131236</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 18:44:27 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 18:41:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonathanlee">@<bdi>JonathanLee</bdi></a> If that is not a TCP:S, it should be an out of state connection.<br />
Could be asymmetric route but I don't think that is the case.</p>
<p dir="auto">All you need is to allow clients to connect to their gateway IP address (pfsense), on port 3128.</p>
<p dir="auto">Port 3128 will handle SSL connections too. I don't remember ever having to use port 3129.</p>
]]></description><link>https://forum.netgate.com/post/1131235</link><guid isPermaLink="true">https://forum.netgate.com/post/1131235</guid><dc:creator><![CDATA[mcury]]></dc:creator><pubDate>Sat, 21 Oct 2023 18:41:33 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 18:42:42 GMT]]></title><description><![CDATA[<p dir="auto">this was also tested</p>
<p dir="auto"><img src="/assets/uploads/files/1697913760762-screenshot-2023-10-21-at-11.42.21-am-resized.png" alt="Screenshot 2023-10-21 at 11.42.21 AM.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/1131233</link><guid isPermaLink="true">https://forum.netgate.com/post/1131233</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 18:42:42 GMT</pubDate></item><item><title><![CDATA[Reply to Squid port 3128 and Firewall Rules on Sat, 21 Oct 2023 18:40:19 GMT]]></title><description><![CDATA[<p dir="auto">this was also tested</p>
<p dir="auto"><img src="/assets/uploads/files/1697913617699-screenshot-2023-10-21-at-11.39.55-am-resized.png" alt="Screenshot 2023-10-21 at 11.39.55 AM.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/1131232</link><guid isPermaLink="true">https://forum.netgate.com/post/1131232</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sat, 21 Oct 2023 18:40:19 GMT</pubDate></item></channel></rss>