strange problem with ipfw and rc.conf

2006-01-26 Thread gahn
Hi all: I have strange probelm with rc.conf. I set up ipfw (compiled into kernel) on freebsd-5.4 and it doesn't seem to load ipfw rulesets (it uses default ruleset 65335 locking out everything). I have to do sh /etc/ipfw.rules in order to load the rulesets, once I did that, I can access the box

Re: strange problem with ipfw and rc.conf

2006-01-26 Thread Arne Woerner
--- gahn [EMAIL PROTECTED] wrote: 65335 locking out everything). I have to do sh /etc/ipfw.rules in order to load the rulesets, once I did that, I can access the box from remote locations Hmm... It helped me, to look at /etc/rc.firewall... There are some comments, that might give u the right

Re: strange problem with ipfw and rc.conf

2006-01-26 Thread Logan
On 1/26/06, gahn [EMAIL PROTECTED] wrote: I have strange probelm with rc.conf. I set up ipfw (compiled into kernel) on freebsd-5.4 and it doesn't seem to load ipfw rulesets (it uses default ruleset 65335 locking out everything). I have to do sh /etc/ipfw.rules in order to load the rulesets,

Re: strange problem with ipfw and rc.conf

2006-01-26 Thread gahn
Thanks. I don't think it was the problem of ipfw rulesets. In fact once I did sh /etc/ipfw.rules and things are fine. I just cant figure out why the rc.conf won't load the rulesets. Besides, I recompiled the customized kernel and there is no need for firewall_enable=YES statement in rc.conf.

Re: strange problem with ipfw and rc.conf

2006-01-26 Thread gahn
Subject: Re: strange problem with ipfw and rc.conf --- gahn [EMAIL PROTECTED] wrote: 65335 locking out everything). I have to do sh /etc/ipfw.rules in order to load the rulesets, once I did that, I can access the box from remote locations Hmm... It helped me, to look at /etc

Re: strange problem with ipfw and rc.conf

2006-01-26 Thread Dan O'Connor
Besides, I recompiled the customized kernel and there is no need for firewall_enable=YES statement in rc.conf. Yes, there is. Just because it's compiled in, doesn't mean it's turned on. And since /etc/defaults/rc.conf has 'firewall_enable=NO ' in it, it specifically is turned off. ~Dan --

Re: strange problem with ipfw and rc.conf

2006-01-26 Thread Arne Woerner
--- gahn [EMAIL PROTECTED] wrote: Thanks for the comments. My real problem is thta the rc.conf just won load the rulesets when the system reboots. I have to do this every time the system reboots: sh /etc/ipfw.rules Could you just try firewall_enable=YES in your /etc/rc.conf please?

RE: strange problem with ipfw and rc.conf

2006-01-26 Thread fbsd_user
PROTECTED] Behalf Of gahn Sent: Thursday, January 26, 2006 6:35 PM To: freebsd security; freebsd general questions Subject: strange problem with ipfw and rc.conf Hi all: I have strange probelm with rc.conf. I set up ipfw (compiled into kernel) on freebsd-5.4 and it doesn't seem to load ipfw rulesets

Re: strange problem with ipfw and rc.conf

2006-01-26 Thread gahn
arne: Thanks. I did and it worked. You are right; the kernel options don't change the fact that the statement of firewall_enable must be in the rc.conf. Best --- Arne Woerner [EMAIL PROTECTED] wrote: --- gahn [EMAIL PROTECTED] wrote: Thanks for the comments. My real problem is thta

Re: strange problem with ipfw and rc.conf

2006-01-26 Thread Mikhail Goriachev
gahn wrote: Hi all: I have strange probelm with rc.conf. I set up ipfw (compiled into kernel) on freebsd-5.4 and it doesn't seem to load ipfw rulesets (it uses default ruleset 65335 locking out everything). I have to do sh /etc/ipfw.rules in order to load the rulesets, once I did that, I