From owner-freebsd-questions Sun Jan 23 19: 3: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tetron02.tetronsoftware.com (ftp.tetronsoftware.com [208.236.46.106]) by hub.freebsd.org (Postfix) with ESMTP id 4DBD614DF1 for ; Sun, 23 Jan 2000 19:02:59 -0800 (PST) (envelope-from zeus@tetronsoftware.com) Received: from tetron02.tetronsoftware.com (tetron02.tetronsoftware.com [208.236.46.106]) by tetron02.tetronsoftware.com (8.9.3/8.9.3) with ESMTP id VAA16437; Sun, 23 Jan 2000 21:06:42 -0600 (CST) (envelope-from zeus@tetronsoftware.com) Date: Sun, 23 Jan 2000 21:06:42 -0600 (CST) From: Gene Harris To: Sean Heber Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Quick firewall rule question.. In-Reply-To: <008301bf6615$89ac9ac0$0a04cfd1@mwci.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Delete the /28 from the onet variable and you will be ok. However, Sean, be extremely careful using the "simple" firewall in the stock rc.firewall. You can still lock yourself out from doing much useful work. *==============================================* *Gene Harris http://www.tetronsoftware.com* *FreeBSD Novice * *All ORBS.org SMTP connections are denied! * *==============================================* On Sun, 23 Jan 2000, Sean Heber wrote: > I got the following info from my colocation provider: > > Allocation: 216.218.200.112/28 > Gateway: 216.218.200.113 > Netmask 255.255.255.240 > Range: 216.218.200.114 - 216.218.200.126 > > I know where gateway and netmask go and stuff for the regular networking > config, but how does this work for my firewall config? I want to be totaly > sure as I don't want to be locked out when the server is a few thousand > miles away.. :-) > > Do I do this in rc.firewall?: > > onet="216.218.200.112/28" > omask="255.255.255.240" > > or is that wrong? > > Thanks! > > l8r > Sean > > BeBits Admin > http://www.bebits.com/ > > "I have no respect for a man who can only spell a word one way." > - Samuel Clemens (Mark Twain) > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message