Stop firewall service

Charles Swiger cswiger at mac.com
Mon Nov 8 09:13:31 PST 2004


On Nov 8, 2004, at 9:08 AM, Akhthar Parvez. K wrote:
> I am new in FreeBSD :). Could someone please tell me how to 
> stop/disable the
> firewall service temporarily in FreeBSD. Please let me know what is the
> firewall service in FreeBSD.

Most probably, you are using a firewall called "IPFW".  This firewall 
is implemented using a series of rules, and normally one adjusts 
specific rules rather than just turning the whole thing on or off.  
Still, the following will do something close:

ipfw add 1 allow ip from any to any	# this "disables" the firewall
	
	...or...

ipfw delete 1						# deletes the pass-all rule

-- 
-Chuck



More information about the freebsd-ipfw mailing list