From owner-freebsd-questions@FreeBSD.ORG Wed Sep 9 19:03:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F08B106566B for ; Wed, 9 Sep 2009 19:03:46 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 16DA28FC13 for ; Wed, 9 Sep 2009 19:03:45 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n89J3drK024924; Wed, 9 Sep 2009 20:03:39 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n89J3drK024924 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1252523019; bh=tvYgugkugFuW6nlqdqiKp5iHb0l/laxHl+BxF7TkhPw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AA7FC04.4040508@infracaninophile.co.uk>|Date:=20W ed,=2009=20Sep=202009=2020:03:32=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20Maxim=20Khitrov=20|CC:=20Free =20BSD=20Questions=20list=20|Subjec t:=20Re:=20Correct=20way=20to=20configure=20an=20IP=20range=20for= 20firewall|References:=20<26ddd1750909091144x447fb4bt93e4bdc56d7a9 202@mail.gmail.com>|In-Reply-To:=20<26ddd1750909091144x447fb4bt93e 4bdc56d7a9202@mail.gmail.com>|X-Enigmail-Version:=200.95.6|Content -Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20prot ocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"-------- ----enigFAA41C1651E04818BDE5C72B"; b=M30rPb95z5s1X1rWdnU1pjrEteL6mNpWki9lsV19HbkFJenq5TIi2g59zEFlls+E/ jSL4A1I/cw4EonOzrzsvxe7y8uod3QCoimgBUef71nglU4qT3/74SaKTOa1BGRqlf8 h1Pe1OF609YejDuSTVLVT8GteXK66xXpe3XBr5aE= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AA7FC04.4040508@infracaninophile.co.uk> Date: Wed, 09 Sep 2009 20:03:32 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: Maxim Khitrov References: <26ddd1750909091144x447fb4bt93e4bdc56d7a9202@mail.gmail.com> In-Reply-To: <26ddd1750909091144x447fb4bt93e4bdc56d7a9202@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigFAA41C1651E04818BDE5C72B" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Free BSD Questions list Subject: Re: Correct way to configure an IP range for firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 19:03:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFAA41C1651E04818BDE5C72B Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Maxim Khitrov wrote: > Am I correct in assuming that I just need to add four > ifconfig_vr0_alias[0-3] lines to rc.conf? What happens if in the > future we get a much bigger IP block, is there a more efficient way of > accomplishing the same thing? I don't actually want the firewall to > consider itself the final destination for any of the additional IPs, > it just needs to pass them to pf for nat and filtering. Assuming your assigned network is 192.0.2.24/29: ipv4_addrs_vr0=3D"192.0.2.25-30" See rc.conf(5) for details. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigFAA41C1651E04818BDE5C72B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkqn/AsACgkQ8Mjk52CukIzKbQCfUyBrDTzAGOoNLQwYSi66fMyx L+sAn1IDWwgVRqgvK5B8VXHihzyEUb1L =XyZQ -----END PGP SIGNATURE----- --------------enigFAA41C1651E04818BDE5C72B--