Skip to content

Instantly share code, notes, and snippets.

@stefan-matic
Created March 2, 2020 08:22
Show Gist options
  • Save stefan-matic/6f46157954d5d11b42f7d54d4b6ec4ca to your computer and use it in GitHub Desktop.
Save stefan-matic/6f46157954d5d11b42f7d54d4b6ec4ca to your computer and use it in GitHub Desktop.
AllowUniFiController.ps1
New-NetFirewallRule -DisplayName "Unifi Controller TCP" -Direction Inbound -LocalPort 8080, 8443, 8880, 8843, 6789, 27117 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "Unifi Controller UDP" -Direction Inbound -LocalPort 3478, 5656-5699, 10001, 1900 -Protocol UDP -Action Allow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment