If I use bhyve as FreeBSD Guest, how should I change the following line?
igb0?, bridge0?, tap0?
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipf.html
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization-host-bhyve.html
igb0?, bridge0?, tap0?
Code:
# Allow public connections to specified internal web server
pass in quick on dc0 proto tcp from any to x.x.x.x port = 80 flags S keep state
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipf.html
Code:
[LIST=1]
[*]/etc/sysctl.conf
net.link.tap.up_on_open=1
[*]/boot/loader.conf
vmm_load="YES"
nmdm_load="YES"
if_bridge_load="YES"
if_tap_load="YES"
[*]/etc/rc.conf
cloned_interfaces="bridge0 tap0"
ifconfig_bridge0="addm igb0 addm tap0"
[/LIST]
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization-host-bhyve.html