EGR065 - Windows Firewall Rule Is Not an Outbound Block Rule
Uploading..Agent error code #EGR065 indicates that the Windows Firewall rule a Windows egress knoc names is an inbound rule, or an Allow rule. The agent admits a granted account by making it an exception to a rule that blocks outbound connections, so on an inbound rule the exception would do nothing, and on an Allow rule it would take access away. The grant is refused.
Common causes include:
Steps to Resolve
Check the Rule
Get-NetFirewallRule -DisplayName "kk_bastion_egress" | Select-Object DisplayName, Direction, Action
Direction must be Outbound and Action Block.
Fix the Rule or the Knoc
Change the rule's action to Block the connection on its General tab in Windows Defender Firewall with Advanced Security, or create a new outbound Block rule for the destinations and name it in the knoc's Rule field.