1
1

More than 1 year has passed since last update.

LXDコンテナ内から対外に飛ばない場合の対処法

Posted at

目的

lxdを構築した場合に、コンテナ内から対外へ接続できない場合がある。その対処法を備忘録を残しておく。

ホスト側で実行

sudo iptables -P FORWARD ACCEPT

これだけでコンテナから対外(インターネット)へ疎通が通る。

1
1
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
1
1