Solved

firewall(ipfw) config on FreeBSD

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

739 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