LoginSignup
1
0

More than 1 year has passed since last update.

Oracle Cloudでiptables-nftを設定

Last updated at Posted at 2022-12-31

iptablesの編集

  • /etc/iptables/ipv{4,6}を編集する
  • sudo iptables-restore < /etc/iptables/rules.v4
    • sudo /etc/init.d/netfilter-persistent reloadだと古いエントリーが消えてくれなかった
  • Dockerをインストールしている場合はDocker関係のエントリーが消えてしまうのでsudo service docker restart
    • snap install dockerでインストールすると、iptables-legacyを利用してしまうので、apt install docker.ioでインストールする
1
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
1
0