0
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.

お名前.comのVPSサーバ(ubuntu)でポートを解放する

Last updated at Posted at 2022-01-10

ポート解放は、解放したポート攻撃されりなどのセキュリティ的な問題があるので、自己責任で設定お願いします。

お名前.comのVPSサーバに2021年にセキュリティグループが追加されたので、手順を記載します
vpsサーバ側のポート解放ではなくセキュリティグループを追加した後、該当のサーバへの設定を行います
※お名前にも説明があったのですが、セキュリティグループの設定だけで、該当のサーバの設定は記載されてなくて少しハマりました

ubuntu側のポート解放

sudo ufw allow 888
sudo ufw reload

◆VPSサーバの画面にログインし、「IPセキュリティ」をクリックし、インバウンドルールの「設定を追加」クリック

image.png

◆解放したいポートを追加します

image.png

◆追加したインバウンドルールを選択し+ポタンクリックし追加するボタンクリック

image.png

◆サーバ一覧から該当のサーバの詳細ボタンをクリックし、IPセキュリティの変更ボタンクリック

image.png

◆追加したセキュリティグループを追加して変更ボタンクリック

image.png

設定はすぐ反映されます。

0
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
0
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?