Problem With IPFW

  • Thread starter Thread starter Slash93
  • Start date Start date
S

Slash93

Guest
Hallo,

When I install the firewall IPFW, I go to /usr/src/sys/1386/conf/ to change the file GENERIC. But the problem is I haven't the files in /usr/src/sys/1386/conf/.

How do I get them?

I use FreeBSD 7.1 32 bit

Thanks.
 
Either extract the kernel sources from the installation CD/DVD, or use csup(1) to grab a copy from the net. Use the relevant chapter from The Handbook (also available in Italian). There's too much to explain about building and installing a customized kernel, so make sure you read the handbook.
 
I don't have the CD of installation, I Buy the server with FreeBSD from a holding.

I Pay The server Only month
 
I don't see the relevance. Get the kernel sources from the Internet, as described earlier.
 
You don't need to rebuild the kernel to enable ipfw UNLESS you need to do NAT... Just enable ipfw in rc.conf
Code:
ipfw_enable="yes"

create your firewall rules

and reboot...

but be careful: the default ipfw configuration will lock you out because the default rule is to deny all... so make sure you know what you are doing BEFORE you lock yourself out of the box...
 
Back
Top