Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2020 01:29:38 +0000
From:      Thomas Laus <lausts@acm.org>
To:        Jason Tubnor <jason@tubnor.net>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: Using OpenBSD guest as PF firewall
Message-ID:  <010001759b2c6171-3d48f141-38d9-4c47-8741-dfe5dd74021c-000000@email.amazonses.com>
In-Reply-To: <CACLnyCJJsuvCor9eMkjQrpcYnU42UXy8--Ya5E29QvmFLu7riQ@mail.gmail.com>
References:  <01000175941a2783-79804ed8-eafa-4f80-92d4-3f500e9d7993-000000@email.amazonses.com> <CACLnyCJjdkxaLSu2=r2Ymjvdde_UzLVWcQpVt%2BtznEMepZNRhg@mail.gmail.com> <01000175986c2d21-4256d477-387f-4379-9dd3-8e60fc88b94a-000000@email.amazonses.com> <CACLnyCJJsuvCor9eMkjQrpcYnU42UXy8--Ya5E29QvmFLu7riQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jason Tubnor [jason@tubnor.net] wrote:
> On Thu, 5 Nov 2020 at 23:40, Thomas Laus <lausts@acm.org> wrote:
> 
> Review the vm-bhyve man page.  You just need to add an option to
> {guest}.conf file that references the device you are passing through.  The
> section you are looking for is passthruX
> 
> passthru0=Base/Slot/Function.
>
I have that entry and passthru is working fine for me.  It is only the
bridge function that is not working like the Forum article.  The 'vm
switch tap' creation gives me access to the OpenBSD guest, but I still
can't pass internet traffic from the FreeBSD host through the guest
OpenBSD PF and then onto the internet.  The forum article states that it
can be done by using the provided rc.local script.  I was asking for
vm-bhyve assistance to get the same functionality without resorting
to scripting.  Auto guest startup and shutdown is a lot cleaner using
'vm' commands.

Tom


-- 
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010001759b2c6171-3d48f141-38d9-4c47-8741-dfe5dd74021c-000000>