> ## Content Index
> Fetch the complete content index at: https://note.xdq.me/llms.txt
> Use this file to discover other available public pages before exploring further.

# Powershell 增加WIndows防火墙规则
- URL: https://note.xdq.me/powershell-zeng-jia-windowsfang-huo-qiang-gui-ze/
- Published: 2016-02-16T06:11:59.000Z
- Updated: 2026-10-03T03:04:32.000Z
- Author: xud6
- Tags: #Import 2026-10-03 02:45

```
netsh advfirewall firewall add rule name="Allow IN TCP" dir=in action=allow protocol=TCP localport=80

```