Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

firewall(ipfw) config on FreeBSD

Posted on 2014-10-10
3
Medium Priority
?
323 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
  • 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

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

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

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
To setup a SonicWALL for policy based routing to be used with the Websense Content Gateway there are several steps that need to be completed. Below is a rough guide for accomplishing this. One thing of note is this guide is intended to assist in the…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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
Course of the Month11 days, 14 hours left to enroll

916 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