Allow access to port 8081.
This commit is contained in:
parent
a344c92d83
commit
24e5456fc6
@ -3,14 +3,23 @@ loader="uefi"
|
|||||||
graphics="yes"
|
graphics="yes"
|
||||||
xhci_mouse="yes"
|
xhci_mouse="yes"
|
||||||
graphics_listen="127.0.0.1"
|
graphics_listen="127.0.0.1"
|
||||||
#graphics_listen="10.216.1.1"
|
# graphics_listen="10.216.1.1"
|
||||||
graphics_res="1920x1080"
|
graphics_res="1920x1080"
|
||||||
#prestart=""
|
# graphics_wait="yes"
|
||||||
|
# prestart=""
|
||||||
|
console="tmux"
|
||||||
|
|
||||||
cpu=1
|
cpu=1
|
||||||
memory=1024M
|
memory=1024M
|
||||||
|
|
||||||
|
# Automatic switch ifconfig networking
|
||||||
|
# network0_type="virtio-net"
|
||||||
|
# network0_switch="customswitch"
|
||||||
|
|
||||||
|
# Manually specify network device
|
||||||
network0_type="virtio-net"
|
network0_type="virtio-net"
|
||||||
network0_switch="customswitch"
|
network0_device="tap0"
|
||||||
|
|
||||||
disk0_type="virtio-blk"
|
disk0_type="virtio-blk"
|
||||||
disk0_name="disk0"
|
disk0_name="disk0"
|
||||||
disk0_dev="sparse-zvol"
|
disk0_dev="sparse-zvol"
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
- vm-bhyve
|
- vm-bhyve
|
||||||
- tmux # for interactive consoles
|
- tmux # for interactive consoles
|
||||||
- bhyve-firmware # For UEFI
|
- bhyve-firmware # For UEFI
|
||||||
# - uefi-edk2-bhyve # Other UEFI firmware?
|
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Create zfs dataset
|
- name: Create zfs dataset
|
||||||
@ -34,7 +33,7 @@
|
|||||||
- name: vm_list
|
- name: vm_list
|
||||||
value: "{{ bhyve_list|community.general.json_query('[?enabled==`true`].name')|join(' ') }}"
|
value: "{{ bhyve_list|community.general.json_query('[?enabled==`true`].name')|join(' ') }}"
|
||||||
- name: vm_delay
|
- name: vm_delay
|
||||||
value: "5"
|
value: "5"
|
||||||
|
|
||||||
- name: init vm-bhyve
|
- name: init vm-bhyve
|
||||||
command: vm init
|
command: vm init
|
||||||
|
@ -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 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 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
|
pass in on host_uplink1
|
||||||
|
Loading…
Reference in New Issue
Block a user