<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>derwind</author_name>
  <author_url>https://blog.hatena.ne.jp/derwind/</author_url>
  <blog_title>らんだむな記憶</blog_title>
  <blog_url>https://randommemory.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>VirtualBox の「ネットワークアダプター 1」を「NAT」にすると、仮想マシン内のゲスト環境からはインターネットに出られるが、ホストからは直接はゲストたる仮想マシン内にアクセスできなくなる。ということでポートフォワーディングを使ってホストから特定のポートにサービスを関連付けることにする。実際には Docker と同様に NAPT として機能しているので、ポート番号を変更してマッピングができる。こうすれば、例えば https://localhost:8889/ でアクセスすることで、ゲスト環境内で動作している Jupyter Lab にアクセスすることができる。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2022%2F06%2F04%2F193742&quot; title=&quot;VirtualBox の NAT とポートフォワーディング - らんだむな記憶&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/d/derwind/20220604/20220604193539.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-06-04 19:37:42</published>
  <title>VirtualBox の NAT とポートフォワーディング</title>
  <type>rich</type>
  <url>https://randommemory.hatenablog.com/entry/2022/06/04/193742</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
