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 3 years have passed since last update.

Oracle Cloudのminimal UbuntuのInstanceで外からつながらない問題

Posted at

環境

  • Oracle Cloudインスタンス
  • Image: Canonical-Ubuntu-20.04-Minimal-2020.12.10-0
  • Shape: VM.Standard.E2.1.Micro

原因

iptablesのルールである

-A INPUT -j REJECT --reject-with icmp-host-prohibited

解決策

/etc/iptables/rules.v4

の17行目にある

-A INPUT -j REJECT --reject-with icmp-host-prohibited

をコメントアウトして再起動。(すべてのポートが晒されるので注意)

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?