Portmaster on Virtual Machines are currently not officially supported
The simplest and most reliable fix is to make your Virtual Machine use a static DNS instead of your System DNS.
For example Cloudflare which is 1.1.1.1
and 1.0.0.1
1.1.1.1
and 1.0.0.1
sudo nano /etc/resolv.conf
in your terminal1.1.1.1
Allow Hyper-V's network range in the "Other Connections" profile.
Allow 172.16.0.0/12 # Hyper-V Network Range
Block * # Block anything else
Rules are checked from top to bottom, stopping after the first match.
Make sure Exclude * is at the bottom.
The Hyper-V network is currently being detected as "Other Connections" and is getting blocked as "LAN Peer-To-Peer Incoming" which is blocked by "Force Block Incoming Connections"