Dear all :
i have a machine with freebsd14.2 and bhybe . i have enabled pf firewall in freebsd14.2 host, and use bhybe create some vms . this host just have only one network interface em0 . below was information .
1. em0 have double stacks with ipv4 and ipv6.
2.vm switch list
NAME TYPE IFACE ADDRESS PRIVATE MTU VLAN PORTS
public standard vm-public - no - - em0
3. pf rules
#options -------------------------------------------------
set skip on lo0
scrub in all
block log all
. now my questions :
1. the host can be block all traffic with pf .
2. the bhyve vms can go anywhere , the pf can't stop any traffics. why ? how to use host's pf block bhyve vms traffic ?
thanks.
i have a machine with freebsd14.2 and bhybe . i have enabled pf firewall in freebsd14.2 host, and use bhybe create some vms . this host just have only one network interface em0 . below was information .
1. em0 have double stacks with ipv4 and ipv6.
2.vm switch list
NAME TYPE IFACE ADDRESS PRIVATE MTU VLAN PORTS
public standard vm-public - no - - em0
3. pf rules
#options -------------------------------------------------
set skip on lo0
scrub in all
block log all
. now my questions :
1. the host can be block all traffic with pf .
2. the bhyve vms can go anywhere , the pf can't stop any traffics. why ? how to use host's pf block bhyve vms traffic ?
thanks.