<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>swx-ohshiro</author_name>
  <author_url>https://blog.hatena.ne.jp/swx-ohshiro/</author_url>
  <blog_title>サーバーワークスエンジニアブログ</blog_title>
  <blog_url>https://blog.serverworks.co.jp/</blog_url>
  <categories>
    <anon>小ネタ</anon>
  </categories>
  <description>こんにちは、マネージドサービス部の大城です。 小ネタです。EC2のアウトバウンド通信を拒否する方法を考えてみました。 なぜアウトバウンドを拒否するのか 考えられる方法 NACLで拒否する アウトバウンドルール セキュリティグループで拒否する https(443) TCP のアウトバウンドを拒否したい場合 SMTP関連（25,465,587） TCP のアウトバウンドを拒否したい場合 注意点 OS機能のFireWallで拒否する 最後に なぜアウトバウンドを拒否するのか 最近は便利な世の中でAPIキーさえあれば外部との連携が容易です。アプリケーション内で外部APIを実行するだけで便利なことができ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.serverworks.co.jp%2Fdeny-ports-outbound-in-EC2&quot; title=&quot;【小ネタ】EC2で特定ポートアウトバウンドを拒否する３つの方法 - サーバーワークスエンジニアブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/swx-ohshiro/20240214/20240214075127.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-02-14 15:28:30</published>
  <title>【小ネタ】EC2で特定ポートアウトバウンドを拒否する３つの方法</title>
  <type>rich</type>
  <url>https://blog.serverworks.co.jp/deny-ports-outbound-in-EC2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
