FreeBSD kernel rebuild

After I did the following to rebuild the kernel of FreeBSD 3.3, my FreeBSD box cannot use network anymore and I get a error, "sendto : permission denied", when I run "ping" !!

1) add "options IPFIREWALL" and "options IPDIVERT" into "/usr/src/sys/i386/conf/GENERIC"
2) run "config GENERIC"
3) run "make depend all install" under "/usr/src/sys/compile/GENERIC/"
4) add "firewall_enable="YES"", "firewall_type="simple"" and "firewall_quiet="YES"" into "/etc/rc.conf"
5) run "sync;sync;sync;reboot"
6) system restart

What seems to be the problem ?

Andrew
andrewyuAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mj031297Commented:
You should also configure the firewall! Or it firewalls everything, which is good if that is what you're after.

Either edit /etc/rc.firewall to suit your needs

or

let the firewall to let everything through (as if it wasn't there in the 1st place) by typing:

root# ipfw add 65000 pass all from any to any
(no need to reboot)

or

set firewall_type to "open" in rc.conf
(and reboot)

If you don't have any plans fiddling with firewall setup then you just as well could remove the kernel options.  

/M
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
andrewyuAuthor Commented:
But, I mean that I cannot use PING in the server(FIREWALL) !

Andrew
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.