LoginSignup
0
0

More than 5 years have passed since last update.

サーバ再起動後に iptable or ip6tables の rule が適用されない場合の対処方法

Last updated at Posted at 2018-03-05

概要

Debian amd64 9.3(strech)でサーバ再起動した場合に ip6tables もしくは iptables のルールが適用されないことがある。それもかなりの確率で。その場合の対処方法。

2019/1/19追記: 最近busterでほぼうまく動いいてる

エグゼクティブサマリー

sudo service netfilter-persistent reload

手で rule を適用しても良いと思うけど、↑のコマンド一発で iptables と ip6tables も入るみたいなので便利。

確認方法

コマンドのみ。それにしても、なんではいらんねやろ。

iptables -L -v -n
ip6talbes -L -v -n
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