Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable ipfw in ubuntu . Unable to find loader.conf

Tags:

ubuntu

ipfw

I am trying to enable the ipfw utility in my ubuntu 12.04 . I am following the procedure as given in the manual pages .

http://manpages.ubuntu.com/manpages/hardy/man4/ipfw.4.html

But I am unable to find the loader.conf file as mentioned. I tried system wide search using

sudo find / -name loader.conf

No results . Any idea on the path of the file .

Best Yash

like image 357
yash cp Avatar asked Sep 25 '12 21:09

yash cp


1 Answers

IPFW is developed primarily for BSD systems, and I wouldn't recommend using it for Linux systems when there are options like iptables. In modern Ubuntu distributions the package is not longer included or supported.

Having said that disclaimer:

loader.conf refers specifically to /boot/loader.conf, which in BSD systems is the place to declare kernel modules to load at boot time. Your Linux systems won't have this. In Ubuntu, the location for these to be declared is in /etc/modules. In this file simply add a new line containing "ipfw" and reboot. As long as you've already installed ipfw (and its kernel module), you'll be good to go.

like image 126
sullivanmatt Avatar answered Oct 07 '22 13:10

sullivanmatt