<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: FreeBSD / OpenBSD: PF Firewall Filter Large Number Of Subnets and IP Address</title> <atom:link href="http://www.cyberciti.biz/faq/opebsd-pf-firewall-block-subnets-ip-address/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/opebsd-pf-firewall-block-subnets-ip-address/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: CDSU</title><link>http://www.cyberciti.biz/faq/opebsd-pf-firewall-block-subnets-ip-address/#comment-41228</link> <dc:creator>CDSU</dc:creator> <pubDate>Thu, 16 Apr 2009 15:41:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1182#comment-41228</guid> <description>You have to enable PF first. there are several steps needed in order to complete this task. It may include rebuilding the kernel and adding some options. FreeBSD 7.x or better should have pf enabled in the kernel. the following steps need to be made in order to get pf working
1. edit the /etc/rc.conf file and add the following
pf_enable=&quot;YES&quot;                 # Enable PF (load module if required)
pf_rules=&quot;/etc/pf.conf&quot;         # rules definition file for pf
pf_flags=&quot;&quot;                     # additional flags for pfctl startup
pflog_enable=&quot;YES&quot;              # start pflogd(8)
pflog_logfile=&quot;/var/log/pflog&quot;  # where pflogd should store the logfile
pflog_flags=&quot;&quot;                  # additional flags for pflogd startup&#039;
if you cannot afford to reboot the device you can  enable and disable via CLI
pfctl      -d      Disable the packet filter.
pfctl      -e      Enable the packet filter.
it is always good to test your rules before you go live.
--CDSY</description> <content:encoded><![CDATA[<p>You have to enable PF first. there are several steps needed in order to complete this task. It may include rebuilding the kernel and adding some options. FreeBSD 7.x or better should have pf enabled in the kernel. the following steps need to be made in order to get pf working<br
/> 1. edit the /etc/rc.conf file and add the following<br
/> pf_enable=&#8221;YES&#8221;                 # Enable PF (load module if required)<br
/> pf_rules=&#8221;/etc/pf.conf&#8221;         # rules definition file for pf<br
/> pf_flags=&#8221;"                     # additional flags for pfctl startup<br
/> pflog_enable=&#8221;YES&#8221;              # start pflogd(8)<br
/> pflog_logfile=&#8221;/var/log/pflog&#8221;  # where pflogd should store the logfile<br
/> pflog_flags=&#8221;"                  # additional flags for pflogd startup&#8217;</p><p>if you cannot afford to reboot the device you can  enable and disable via CLI</p><p>pfctl      -d      Disable the packet filter.</p><p>pfctl      -e      Enable the packet filter.</p><p>it is always good to test your rules before you go live.</p><p>&#8211;CDSY</p> ]]></content:encoded> </item> <item><title>By: Ray</title><link>http://www.cyberciti.biz/faq/opebsd-pf-firewall-block-subnets-ip-address/#comment-39798</link> <dc:creator>Ray</dc:creator> <pubDate>Mon, 12 Jan 2009 02:28:48 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1182#comment-39798</guid> <description>I&#039;ve also tried using the above but the IP&#039;s aren&#039;t being blocked.  Any ideas?</description> <content:encoded><![CDATA[<p>I&#8217;ve also tried using the above but the IP&#8217;s aren&#8217;t being blocked.  Any ideas?</p> ]]></content:encoded> </item> <item><title>By: shake faidzal</title><link>http://www.cyberciti.biz/faq/opebsd-pf-firewall-block-subnets-ip-address/#comment-39320</link> <dc:creator>shake faidzal</dc:creator> <pubDate>Thu, 27 Nov 2008 03:30:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=1182#comment-39320</guid> <description>hi,
i&#039;ve tried the command lines n created the table as ordered, however it doesn&#039;t block the ip&#039;s that i want to filter from access outside internet. FYI, &quot;pfctl -t blockedips -T show&quot; does show the list of ip&#039;s that i key-in. really apreciate if u could spare me some ideas..tq</description> <content:encoded><![CDATA[<p>hi,<br
/> i&#8217;ve tried the command lines n created the table as ordered, however it doesn&#8217;t block the ip&#8217;s that i want to filter from access outside internet. FYI, &#8220;pfctl -t blockedips -T show&#8221; does show the list of ip&#8217;s that i key-in. really apreciate if u could spare me some ideas..tq</p> ]]></content:encoded> </item> </channel> </rss>
