<?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[How to block AS numbers??]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">A lot is asking about facebook.com and the easy way is blocking AS numbers.</p>
<p dir="auto">https://www.peeringdb.com/net/979</p>
<p dir="auto">If we could extract the IP's from a DB then pfblocker could be made to do that...</p>
<p dir="auto">It does it allredy on geoIP level defined by countries.</p>
<p dir="auto">How much work would it be??</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bbcan177">@<bdi>BBcan177</bdi></a></p>
]]></description><link>https://forum.netgate.com/topic/167017/how-to-block-as-numbers</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 04:21:31 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/167017.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Oct 2021 09:11:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to block AS numbers?? on Thu, 07 Oct 2021 08:16:40 GMT]]></title><description><![CDATA[<p dir="auto">This AS filtering works pretty well.<br />
Dono if it's perfect, but looking at the cheer number of firewall rule hits overnight, it did block a lot.<br />
I have to remove it now, as people start to look in my direction.</p>
<p dir="auto">Found this on the forum :</p>
<pre><code>whois -h whois.radb.net -- '-i origin AS32934' | grep ^route | grep -v route6 | cut -d" " -f7 &gt; /var/www/block_lists/facebook.txt
</code></pre>
]]></description><link>https://forum.netgate.com/post/1004771</link><guid isPermaLink="true">https://forum.netgate.com/post/1004771</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Thu, 07 Oct 2021 08:16:40 GMT</pubDate></item><item><title><![CDATA[Reply to How to block AS numbers?? on Wed, 06 Oct 2021 15:13:15 GMT]]></title><description><![CDATA[<p dir="auto">Initially, this didn't work for me.<br />
The IP I used was 157.240.20.15, an IP from the 157.240.0.0/17 network, member of the AS32934.<br />
I switched from the to coffee : nothing helped.</p>
<p dir="auto">Then :</p>
<p dir="auto"><img src="/assets/uploads/files/1633532476764-41f92ebd-3958-4000-99d8-2afba7463842-image.png" alt="41f92ebd-3958-4000-99d8-2afba7463842-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I'm using IPv6 - facebook uses IPv6. .... (slam head).</p>
<p dir="auto">After creating a 'AS32934' entry on the IPv6 tab, and reloaded of pfB.<br />
I didn't need to test ..... some one was already yelling in the building ....<br />
It's 17h08 : I'm off to home - I'll keep this one for the night ;)</p>
]]></description><link>https://forum.netgate.com/post/1004698</link><guid isPermaLink="true">https://forum.netgate.com/post/1004698</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Wed, 06 Oct 2021 15:13:15 GMT</pubDate></item><item><title><![CDATA[Reply to How to block AS numbers?? on Wed, 06 Oct 2021 14:40:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cool_corona">@<bdi>cool_corona</bdi></a> Just create an alias - use it how ever you want..</p>
]]></description><link>https://forum.netgate.com/post/1004694</link><guid isPermaLink="true">https://forum.netgate.com/post/1004694</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Wed, 06 Oct 2021 14:40:10 GMT</pubDate></item><item><title><![CDATA[Reply to How to block AS numbers?? on Wed, 06 Oct 2021 14:22:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnpoz">@<bdi>johnpoz</bdi></a> Outbound also?</p>
]]></description><link>https://forum.netgate.com/post/1004690</link><guid isPermaLink="true">https://forum.netgate.com/post/1004690</guid><dc:creator><![CDATA[Cool_Corona]]></dc:creator><pubDate>Wed, 06 Oct 2021 14:22:52 GMT</pubDate></item><item><title><![CDATA[Reply to How to block AS numbers?? on Wed, 06 Oct 2021 14:20:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cool_corona">@<bdi>cool_corona</bdi></a> said in <a href="/post/1004636">How to block AS numbers??</a>:</p>
<blockquote>
<p dir="auto">easy way is blocking AS numbers.</p>
</blockquote>
<p dir="auto">You can already do that with pfblocker..</p>
<p dir="auto"><img src="/assets/uploads/files/1633530010767-blockas.jpg" alt="blockas.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/1004689</link><guid isPermaLink="true">https://forum.netgate.com/post/1004689</guid><dc:creator><![CDATA[johnpoz]]></dc:creator><pubDate>Wed, 06 Oct 2021 14:20:12 GMT</pubDate></item><item><title><![CDATA[Reply to How to block AS numbers?? on Wed, 06 Oct 2021 14:09:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cool_corona">@<bdi>cool_corona</bdi></a> said in <a href="/post/1004636">How to block AS numbers??</a>:</p>
<blockquote>
<p dir="auto">A lot is asking about facebook.com</p>
</blockquote>
<p dir="auto">Yeah.<br />
Right.<br />
They even started to auto block themselves. It wasn't AS, most kids became BGP experts in one evening.</p>
]]></description><link>https://forum.netgate.com/post/1004688</link><guid isPermaLink="true">https://forum.netgate.com/post/1004688</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Wed, 06 Oct 2021 14:09:38 GMT</pubDate></item></channel></rss>