Firewall under FreeBSD

How do I enable firewall ipfw under FreeBSD?

Add the following lines into the /etc/rc.conf file:

firewall_enable="YES"
firewall_type="/etc/firewall.conf"

Create the /etc/firewall.conf file using the command:

touch /etc/firewall.conf

Restart the VPS and specify

/etc/rc.d/ipfw restart

How do I add rules to Firewall?

Once you have activated Firewall,  the Firewall module will be displayed in ISPmanager. If you have not rebooted your server, restart the control panel with the command:

killall ispmgr

  • Facebook
  • Digg
  • Google Gmail
  • MySpace
  • Yahoo Mail
  • WordPress
  • Reddit
  • Google Reader
  • Yahoo Bookmarks
  • Windows Live Spaces
  • Blogger Post
  • Ask.com MyStuff
  • Mixx
  • StumbleUpon
  • LinkedIn
  • Google Bookmarks
  • AOL Mail
  • Twitter
  • Share/Bookmark
Posted on April 5, 2011