Route all traffic through the internal network
Acheminer tout le trafic via le réseau interne
Explanation
This policy setting determines whether a remote client computer routes Internet traffic through the internal network or whether the client accesses the Internet directly.
When a remote client computer connects to an internal network using DirectAccess, it can access the Internet in two ways: through the secure tunnel that DirectAccess establishes between the computer and the internal network, or directly through the local default gateway.
If you enable this policy setting, all traffic between a remote client computer running DirectAccess and the Internet is routed through the internal network.
If you disable this policy setting, traffic between remote client computers running DirectAccess and the Internet is not routed through the internal network.
If you do not configure this policy setting, traffic between remote client computers running DirectAccess and the Internet is not routed through the internal network.
Ce paramètre de stratégie détermine si un ordinateur client distant achemine le trafic Internet par le biais du réseau interne ou si le client accède directement à Internet.
Lorsqu’un ordinateur client distant se connecte à un réseau interne à l’aide de DirectAccess, il peut accéder à Internet de deux manières : par le biais du tunnel sécurisé que DirectAccess établit entre l’ordinateur et le réseau interne, ou directement par l’intermédiaire de la passerelle locale par défaut.
Si vous activez ce paramètre de stratégie, tout le trafic entre un ordinateur client distant exécutant DirectAccess et Internet est acheminé par l’intermédiaire du réseau interne.
Si vous désactivez ce paramètre de stratégie, le trafic entre les ordinateurs clients distants exécutant DirectAccess et Internet n’est pas acheminé par l’intermédiaire du réseau interne.
Si vous ne configurez pas ce paramètre de stratégie, le trafic entre les ordinateurs clients distants exécutant DirectAccess et Internet n’est pas acheminé par l’intermédiaire du réseau interne.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\TCPIP\v6Transition- 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: NetworkConnections/NC_ForceTunneling
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Select from the following states
# Possible options:
# Enabled State = Enabled
# Disabled State = Disabled
Set-ItemProperty -Path $k -Name 'Force_Tunneling' -Value 'Enabled' -Type StringDisable
# Disable: NetworkConnections/NC_ForceTunneling
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": NetworkConnections/NC_ForceTunneling
$k = 'HKLM:\Software\Policies\Microsoft\Windows\TCPIP\v6Transition'
Remove-ItemProperty -Path $k -Name 'Force_Tunneling' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Select from the following states:Sélectionnez l'un des états suivants :StateSelect | Drop-down listenum | Force_Tunneling | REG_SZ | Required · Default choice (UI): #0
|