Solved

firewall(ipfw) config on FreeBSD

Posted on 2014-10-10
3
294 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 500 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
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.:
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.
Suggested Courses

636 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