ufw を触って見る

ufw をインストールする。
sudo apt -y install ufw
ufw を起動する。
sudo systemctl start ufw
ufw を有効化する。
sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)?
(現在のssh接続を中断させる可能性があります。操作を続けますか?)
ステータスを確認する。
sudo ufw status
Status: active
ポートを開ける。
sudo ufw allow 80
再度ステータスを確認する。
sudo ufw status
Status: active
To Action From
-- ------ ----
80 ALLOW Anywhere
80 (v6) ALLOW Anywhere (v6)
ディスカッション
コメント一覧
まだ、コメントがありません