<?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[Block SMTP on LAN besides Mail server]]></title><description><![CDATA[<p dir="auto">What's the best way to block smtp on a lan (besides the actual mail server)? We got hit and a user started sending spam out. We caught it right away but got bl. In Pfsense I created an alias called mailservers. Then defined the machines by their ip. In the LAN firewall tab I created a rule that blocks port 25 except the alias list. I have the rule before any allows but it still doesn't block smtp. I setup an smtp server on a workstation to see if it would be blocked and it can still send off emails. I know I'm missing something.  I tried searching the forum and while I do see some talk on how to do this I don't see any specific examples. To date we have just had the allow all outgoing but I think it's too dangerous so I need to start limiting what goes out.</p>
]]></description><link>https://forum.netgate.com/topic/35785/block-smtp-on-lan-besides-mail-server</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Nov 2026 15:48:28 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/35785.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 Jul 2011 21:52:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Block SMTP on LAN besides Mail server on Wed, 27 Jul 2011 17:00:46 GMT]]></title><description><![CDATA[<p dir="auto">Thanks! That worked perfect.</p>
]]></description><link>https://forum.netgate.com/post/288905</link><guid isPermaLink="true">https://forum.netgate.com/post/288905</guid><dc:creator><![CDATA[htech]]></dc:creator><pubDate>Wed, 27 Jul 2011 17:00:46 GMT</pubDate></item><item><title><![CDATA[Reply to Block SMTP on LAN besides Mail server on Wed, 27 Jul 2011 15:33:32 GMT]]></title><description><![CDATA[<p dir="auto">Should be LAN to any on both those, not to WAN, otherwise correct.</p>
]]></description><link>https://forum.netgate.com/post/288889</link><guid isPermaLink="true">https://forum.netgate.com/post/288889</guid><dc:creator><![CDATA[cmb]]></dc:creator><pubDate>Wed, 27 Jul 2011 15:33:32 GMT</pubDate></item><item><title><![CDATA[Reply to Block SMTP on LAN besides Mail server on Wed, 27 Jul 2011 13:58:43 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the reply. I will see if that will work.</p>
]]></description><link>https://forum.netgate.com/post/288881</link><guid isPermaLink="true">https://forum.netgate.com/post/288881</guid><dc:creator><![CDATA[htech]]></dc:creator><pubDate>Wed, 27 Jul 2011 13:58:43 GMT</pubDate></item><item><title><![CDATA[Reply to Block SMTP on LAN besides Mail server on Wed, 27 Jul 2011 03:13:09 GMT]]></title><description><![CDATA[<p dir="auto">Outbound rules:</p>
<p dir="auto">Lan Subnet to Wan port 25 to mail server IP.  Allow.</p>
<p dir="auto">Lan Subnet to Wan port 25 any.    Block.</p>
<p dir="auto">Should work.</p>
]]></description><link>https://forum.netgate.com/post/288835</link><guid isPermaLink="true">https://forum.netgate.com/post/288835</guid><dc:creator><![CDATA[chpalmer]]></dc:creator><pubDate>Wed, 27 Jul 2011 03:13:09 GMT</pubDate></item></channel></rss>