?
Solved

firewall(ipfw) config on FreeBSD

Posted on 2014-10-10
3
Medium Priority
?
304 Views
Last Modified: 2016-02-11
why this settings on ipfw.conf don't work on FreeBSD 10:
firewall_enable="YES"
firewall_type="OPEN"
firewall_script="/etc/ipfw.conf"

it outputs this when trying to attempt to start firewall
/etc/ipfw.conf: add : not found

But the following settings in rc.conf works
firewall_enable="YES"
firewall_type="/etc/ipfw.conf"

Of coures ipfw.conf are identical in both cases.
0
Comment
Question by:Nusrat Nuriyev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 1000 total points
ID: 40373552
Well, it is like you are running httpd.conf to start apache...
0
 

Author Comment

by:Nusrat Nuriyev
ID: 40373796
:) Ok, I got it :)  My friend has ipfw built in kernel and in his case firewall_script="/etc/ipfw.conf" works. Why?  Or maybe because he has another version (as I know, FreeBSD 5.4)
0
 
LVL 62

Expert Comment

by:gheist
ID: 40374063
Each line in ipfw.conf is prepended by ipfw
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question