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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top