Tag: publish

Search

SearchSearch
Home

❯

_windows

❯

windows_port_command

windows_port_command

  • windows
  • publish

open/disable

admin terminal(not gsudo)

open

netsh advfirewall firewall add rule name="Open Port 443" dir=in action=allow protocol=TCP localport=443

close

netsh advfirewall firewall delete rule name="Open Port 443"

netsh advfirewall ファイアウォール コンテキストを使用する - Windows Server | Microsoft Learn

ファイアウォールの設定状況を一覧抽出する方法

出力先は適当に

netsh advfirewall firewall show rule all >c:\GetFireWallSetting.txt

Graph View

© 2025 amatagonsk

  • GitHub