CONTENTS


Lastmodified 2023-08-25 (金) 17:47:33


Debian 11 de FireWall

【参考URL】Debian 11 で UFW を使用してファイアウォールを設定する方法

sudo apt install ufw

sudo ufw default deny incoming

sudo ufw default allow outgoing

ufw allow ssh

ufw allow ****** 別のssh_portも開けておく。

ufw allow http

ufw allow https

ufw enable

ufw status verbose

Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW IN    Anywhere
******                       ALLOW IN    Anywhere
80/tcp                     ALLOW IN    Anywhere
443                        ALLOW IN    Anywhere
22/tcp (v6)                ALLOW IN    Anywhere (v6)
****** (v6)                  ALLOW IN    Anywhere (v6)
80/tcp (v6)                ALLOW IN    Anywhere (v6)
443 (v6)                   ALLOW IN    Anywhere (v6)

ufw allow from 210.255.122.208/28


Total access 233:本日 1:昨日 2

Counter: 233, today: 1, yesterday: 2

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2023-08-25 (金) 17:47:33