Solved

firewall(ipfw) config on FreeBSD

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

Accepted Solution

by:
gheist earned 500 total points
Comment Utility
Well, it is like you are running httpd.conf to start apache...
0
 

Author Comment

by:Nusrat Nuriyev
Comment Utility
:) 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 61

Expert Comment

by:gheist
Comment Utility
Each line in ipfw.conf is prepended by ipfw
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now