Allow access to port 8081.

This commit is contained in:
Tom Alexander 2022-11-01 19:33:03 -04:00
parent a344c92d83
commit 24e5456fc6
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 14 additions and 5 deletions

View File

@ -3,14 +3,23 @@ loader="uefi"
graphics="yes"
xhci_mouse="yes"
graphics_listen="127.0.0.1"
#graphics_listen="10.216.1.1"
# graphics_listen="10.216.1.1"
graphics_res="1920x1080"
#prestart=""
# graphics_wait="yes"
# prestart=""
console="tmux"
cpu=1
memory=1024M
# Automatic switch ifconfig networking
# network0_type="virtio-net"
# network0_switch="customswitch"
# Manually specify network device
network0_type="virtio-net"
network0_switch="customswitch"
network0_device="tap0"
disk0_type="virtio-blk"
disk0_name="disk0"
disk0_dev="sparse-zvol"

View File

@ -11,7 +11,6 @@
- vm-bhyve
- tmux # for interactive consoles
- bhyve-firmware # For UEFI
# - uefi-edk2-bhyve # Other UEFI firmware?
state: present
- name: Create zfs dataset
@ -34,7 +33,7 @@
- name: vm_list
value: "{{ bhyve_list|community.general.json_query('[?enabled==`true`].name')|join(' ') }}"
- name: vm_delay
value: "5"
value: "5"
- name: init vm-bhyve
command: vm init

View File

@ -41,4 +41,5 @@ pass in on $ext_if proto udp to any port $udp_pass_in
pass quick on $ext_if proto udp from any port $dhcp to any port $dhcp
pass in on host_uplink0 proto udp from any to any port { 53 51820 }
pass out on host_uplink0 proto tcp from any to any port 8081
pass in on host_uplink1