Windows Defender Firewall: Allow authenticated IPsec bypass
Pare-feu Windows Defender : autoriser la non prise en compte de la sécurité IPsec authentifiée
Explanation
Allows unsolicited incoming messages from specified systems that authenticate using the IPsec transport.
If you enable this policy setting, you must type a security descriptor containing a list of computers or groups of computers. If a computer on that list authenticates using IPsec, Windows Defender Firewall does not block its unsolicited messages. This policy setting overrides other policy settings that would block those messages.
If you disable or do not configure this policy setting, Windows Defender Firewall makes no exception for messages sent by computers that authenticate using IPsec. If you enable this policy setting and add systems to the list, upon disabling this policy, Windows Defender Firewall deletes the list.
Note: You define entries in this list by using Security Descriptor Definition Language (SDDL) strings. For more information about the SDDL format, see the Windows Defender Firewall deployment information at the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=25131).
Autorise les messages entrants non sollicités provenant de systèmes spécifiés utilisant l'authentification par transport IPsec.
Si vous activez ce paramètre de stratégie, vous devez entrer un descripteur de sécurité contenant une liste d'ordinateurs ou de groupes d'ordinateurs. Si un ordinateur dans cette liste s'authentifie par IPsec, le Pare-feu Windows Defender ne bloquera pas ses messages non sollicités. Ce paramètre de stratégie a priorité sur les autres paramètres de stratégie qui pourraient bloquer ces messages.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, le Pare-feu Windows Defender ne fera aucune exception pour les messages envoyés par les ordinateurs utilisant l'authentification IPsec. Si vous activez ce paramètre de stratégie et ajoutez des ordinateurs à la liste, le Pare-feu Windows Defender supprimera la liste lorsqu'il désactivera cette stratégie.
Remarque : vous définissez les entrées dans cette liste en utilisant des chaînes SDDL (Security Descriptor Definitions Language). Pour obtenir des informations sur le format SDDL, voir les informations sur le déploiement du Pare-feu Windows Defender sur le site Web de Microsoft (http://go.microsoft.com/fwlink/?LinkId=25131).
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\IPSec\ICFv4- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: WindowsFirewall/WF_AuthenticatedBypass_Name
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\IPSec\ICFv4'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Define IPsec peers to be exempted from firewall policy
Set-ItemProperty -Path $k -Name 'BypassFirewall' -Value '<value>' -Type StringDisable
# Disable: WindowsFirewall/WF_AuthenticatedBypass_Name
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": WindowsFirewall/WF_AuthenticatedBypass_Name
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\IPSec\ICFv4'
Remove-ItemProperty -Path $k -Name 'BypassFirewall' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Define IPsec peers to be exempted from firewall policy:Définir les homologues IPSec à exempter de la stratégie de pare-feu :WF_AuthenticatedBypass_List_Name | Text boxtext | BypassFirewall | REG_SZ | Required |