netsh interface ipv6 set interface "Ethernet" routerdiscovery=disabled
Super wichtig wenn man für DirectAccess ein eigenes IPv6 Netz konfigurieren will.
Ein Blog über Microsoft Messaging & Collaboration Lösungen, vornehmlich Office 365, Microsoft Teams, Exchange und Skype for Business.
Sonntag, 3. März 2019
Montag, 3. Dezember 2018
Client Access Rules in Exchange 2019 konfigurieren
Um die neuen Client Access Rules in Exchange 2019 zu nutzen, geht man wie folgt vor:
Exchange PS Snapin laden:
Add-PSSnapin microsoft.exchange.management.powershell.snapin
1. Regel anlegen die RemotePowerShell zulässt (empfohlen):
New-ClientAccessRule -Name "Always Allow Remote PowerShell" -Action Allow -AnyOfProtocols RemotePowerShell -Priority 1
2. Regel anlegen die Powershell auf Netz (im Beispiel 19.0.0.0/24) beschränkt:
New-ClientAccessRule -name "Restrict Powershell Access" -Action denyAccess -AnyOfProtocols RemotePowerShell -ExceptAnyOfClientIPAddressesOrRanges 19.0.0.0/24
3. Regel anlegen die EAC auf Netz (im Beispiel 19.0.0.0/24) beschränkt:
New-ClientAccessRule -name "Restrict EAC Access" -Action denyAccess -AnyOfProtocols ExchangeAdminCenter -ExceptAnyOfClientIPAddressesOrRanges 19.0.0.0/24
Testen:
Test-ClientAccessRule -User @ -AuthenticationType Basic -Protocol RemotePowerShell -RemoteAddress 19.0.0.1 -RemotePort 443
Fertig!
Exchange PS Snapin laden:
Add-PSSnapin microsoft.exchange.management.powershell.snapin
1. Regel anlegen die RemotePowerShell zulässt (empfohlen):
New-ClientAccessRule -Name "Always Allow Remote PowerShell" -Action Allow -AnyOfProtocols RemotePowerShell -Priority 1
2. Regel anlegen die Powershell auf Netz (im Beispiel 19.0.0.0/24) beschränkt:
New-ClientAccessRule -name "Restrict Powershell Access" -Action denyAccess -AnyOfProtocols RemotePowerShell -ExceptAnyOfClientIPAddressesOrRanges 19.0.0.0/24
3. Regel anlegen die EAC auf Netz (im Beispiel 19.0.0.0/24) beschränkt:
New-ClientAccessRule -name "Restrict EAC Access" -Action denyAccess -AnyOfProtocols ExchangeAdminCenter -ExceptAnyOfClientIPAddressesOrRanges 19.0.0.0/24
Testen:
Test-ClientAccessRule -User @ -AuthenticationType Basic -Protocol RemotePowerShell -RemoteAddress 19.0.0.1 -RemotePort 443
Fertig!
Abonnieren
Posts (Atom)