Running a webserver inside a bhyve host and exposing it to the world via PF

From: Odhiambo Washington <odhiambo_at_gmail.com>
Date: Tue, 17 Oct 2023 14:00:54 UTC
I am stuck on how I can achieve this.
I have a Linux VM running under bhyve. I have installed a webserver running
on port 80 that I'd like to expose to the outside world.
I am unable to figure out how to achieve this with PF running on the host
machine.

1. I am able to access my VM using VNC Viewer
2. My VM is able to access the Internet
3. I am NOT able to ping my VM from the host
4. I am unable to SSH into the VM from the host.

My hunch tells me it's about my PF.conf, but is there a guide somewhere on
achieving the above?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]