From owner-freebsd-questions Thu Mar 28 11:10:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id F293A37B425 for ; Thu, 28 Mar 2002 11:09:54 -0800 (PST) Received: from hades.hell.gr (patr530-a054.otenet.gr [212.205.215.54]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g2SJ9hg1000206; Thu, 28 Mar 2002 21:09:51 +0200 (EET) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.2/8.12.2) with ESMTP id g2SJ9aom001005; Thu, 28 Mar 2002 21:09:36 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from charon@localhost) by hades.hell.gr (8.12.2/8.12.2/Submit) id g2SJ9VDY000999; Thu, 28 Mar 2002 21:09:31 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Thu, 28 Mar 2002 21:09:30 +0200 (EET) From: Giorgos Keramidas X-X-Sender: charon@hades To: tony Cc: nl3481@wi.rr.com, Subject: RE: IPFW rules, Internet In-Reply-To: Message-ID: <20020328210707.R769-100000@hades> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-03-28 00:33, tony wrote: > make sure these lines are in your /etc/rc.conf file > > gateway_enable="YES" > firewall_enable="YES" > firewall_type="open" > > as for changing it without a reboot I dont know... maybe its a syscontrol > thing? I would love to find out, help anyone? # sysctl -w net.inet.ip.forwarding=1 The firewall parts of rc.conf make sure that ipfw rules are loaded. If you save the rules in a file called ipfw.rules like my firewall rules[1], you can load them with: # ipfw /etc/ipfw.rules [1] An example of ipfw rules (just like the countless examples found in the mailing list archives, and on the web), the rules that I currently use at home, can be found at: http://people.FreeBSD.org/~keramida/files/ipfw.rules Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message