Created
May 6, 2025 21:48
-
-
Save ericmaino/c48f7e0331d540ada5f2a59f6fb2246b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable all inbound traffic from 169.254.0.0/16 | |
New-NetFirewallRule ` | |
-DisplayName "Allow Inbound from 169.254.0.0/16" ` | |
-Direction Inbound ` | |
-Action Allow ` | |
-RemoteAddress 169.254.0.0/16 ` | |
-Protocol Any ` | |
-Enabled True ` | |
-Profile Any | |
# Enable all outbound traffic to 169.254.0.0/16 | |
New-NetFirewallRule ` | |
-DisplayName "Allow Outbound to 169.254.0.0/16" ` | |
-Direction Outbound ` | |
-Action Allow ` | |
-RemoteAddress 169.254.0.0/16 ` | |
-Protocol Any ` | |
-Enabled True ` | |
-Profile Any |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment