3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Windows10のファイアウォールで特定IPアドレスとの通信を完全にシャットアウトしたいよお

Last updated at Posted at 2022-10-01

概要

間違って本番サーバー(特定IPアドレスのPC)のデータを壊さないようにしたい。
とにかく全てのアプリケーションに対して本番サーバーとの通信をシャットアウトしてよい。

そんな時。

やり方

コントロールパネル⇒システムとセキュリティ⇒Windows Defender ファイアウォール⇒詳細設定 。
image.png

送信の規則⇒新しい規則 。
image.png

カスタム 。
image.png

すべてのプログラム 。
image.png

プロトコルの種類は『任意』。
image.png

リモートIPアドレス追加。
image.png

image.png

image.png

接続をブロックする。
image.png

image.png

image.png

受信の規則 にも同じような 新しい規則 を作成。
(手順は送信の規則とほぼ同じなので割愛)

hostsファイルによる設定もあり

要件によってはファイアウォールを使わず、hostsファイルを変更するやり方も検討の余地あり。

バージョン

Windows 10 Pro 21H2 OSビルド 19044.2075

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?