From owner-freebsd-pf@freebsd.org Wed May 29 17:19:51 2019 Return-Path: Delivered-To: freebsd-pf@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7580715A7EC3 for ; Wed, 29 May 2019 17:19:51 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B347A75FA0 for ; Wed, 29 May 2019 17:19:50 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id x4THJnnE076639 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 29 May 2019 17:19:49 GMT (envelope-from list1@gjunka.com) Subject: Re: Wishing to build a 'router' pf box To: freebsd-pf@freebsd.org References: <20190517004706.GA6318@doctor.nl2k.ab.ca> From: Grzegorz Junka Message-ID: <846647b8-4f6e-9174-8324-ff9bf3e2530c@gjunka.com> Date: Wed, 29 May 2019 17:19:49 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190517004706.GA6318@doctor.nl2k.ab.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB-large X-Rspamd-Queue-Id: B347A75FA0 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149 as permitted sender) smtp.mailfrom=list1@gjunka.com X-Spamd-Result: default: False [-6.82 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pf@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[gjunka.com]; MX_GOOD(-0.01)[cached: gjunka.com]; NEURAL_HAM_SHORT(-0.89)[-0.886,0]; IP_SCORE(-3.63)[ip: (-9.50), ipnet: 88.98.192.0/18(-4.75), asn: 56478(-3.80), country: GB(-0.09)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2019 17:19:51 -0000 On 17/05/2019 00:47, The Doctor via freebsd-pf wrote: > Running into toons of problems with opensbsd and their ports, > so I am looking to build a FreeBSD equivalent. > > The Box would look like: > > --------------------------------- > | | > | eth3 > | | > | eth2 > | | > | eth1 > | | > | eth0 > | | > --------------------------------- > > Yes I would the packet filtering to attempt to drop malicious packets and > pass and forward good ones true. > > the Interface of Eth0 would 192.168.81.14 and eth1 would go back to > 192.168.82.2 the router. > > I would like to use sshguard with PF, suricata, squid > and 2 to 3 virtual bhyve machines with the virtual machines have 2 > virtual etherports each. > > What are the installation steps? > > UFS/ZFS I will decide on the controller. > > I am not sure what installation steps are you after. Are you trying to install OpenBSD in a bhyve on FreeBSD host? Why not use host only or jails? FreeBSD installation is pretty straightforward https://www.freebsd.org/doc/handbook/bsdinstall.html but details may depend if you use EFI or legacy BIOS, if you want ZFS on host or in bhyve/jail, etc. GrzegorzJ