<?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[Best use of pfBlocker]]></title><description><![CDATA[<p dir="auto">I'm trying to figure out the best way to go about implementing pfBlocker.  I've had it set up on several units and it runs fine and has helped stop its share of breach attempts, but just blocking many countries isn't ideal.  Instead I've read we should just whitelist the countries we do want to use.  To that end, why is pfBlocker designed to just go through and select all of the countries to block?  Is there a way to invert it and have only select countries to allow instead?  I know pfSense blocks all connections by default but if you're running a mail server, web server, RDP server or some other internal server and you want to limit it's exposure I find pfBlocker to be ideal.  I'm looking <a href="https://forum.netgate.com/topic/91389/pfblocker-is-this-normal-after-3-hours-of-uptime/6">here</a> and I can see a custom pass list being created, but that appears to me that it's giving those countries access past the firewall as it creates a firewall pass rule.  Or am I missing something?</p>
<p dir="auto">Thanks in advance!</p>
]]></description><link>https://forum.netgate.com/topic/137300/best-use-of-pfblocker</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Nov 2026 15:24:17 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/137300.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 30 Oct 2018 21:43:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Best use of pfBlocker on Thu, 01 Nov 2018 22:39:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bbrendon" aria-label="Profile: bbrendon">@<bdi>bbrendon</bdi></a> said in <a href="/post/801503">Best use of pfBlocker</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stewart" aria-label="Profile: stewart">@<bdi>stewart</bdi></a> Yea, this is the way I do it. I create an alias in pfblocker and then make rules using it. Basically I say "if packet is not in goodcountries then block". This was the only way to do it a year or so ago and there might be new ways, but I haven't tried.</p>
</blockquote>
<p dir="auto">With pfBlockerNG-devel, you don't need to link the the GeoIP files anymore... it will still work, but you can now change the <code>State</code> field to the new <code>GeoIP</code> option :)</p>
<p dir="auto">You can also use Auto-Rules and configure the Advanced In/Outbound Rule options to configure more settings for the Firewall Rules.</p>
]]></description><link>https://forum.netgate.com/post/801828</link><guid isPermaLink="true">https://forum.netgate.com/post/801828</guid><dc:creator><![CDATA[BBcan177]]></dc:creator><pubDate>Thu, 01 Nov 2018 22:39:59 GMT</pubDate></item><item><title><![CDATA[Reply to Best use of pfBlocker on Wed, 31 Oct 2018 05:18:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stewart" aria-label="Profile: stewart">@<bdi>stewart</bdi></a> Yea, this is the way I do it. I create an alias in pfblocker and then make rules using it. Basically I say "if packet is not in goodcountries then block". This was the only way to do it a year or so ago and there might be new ways, but I haven't tried.</p>
<p dir="auto"><img src="/assets/uploads/files/1540963091186-8b2f6bcc-c866-4959-81b2-f552f26131ac-image-resized.png" alt="0_1540963090852_8b2f6bcc-c866-4959-81b2-f552f26131ac-image.png" class="img-markdown  img-fluid" /></p>
]]></description><link>https://forum.netgate.com/post/801503</link><guid isPermaLink="true">https://forum.netgate.com/post/801503</guid><dc:creator><![CDATA[bbrendon]]></dc:creator><pubDate>Wed, 31 Oct 2018 05:18:40 GMT</pubDate></item></channel></rss>