One cause for "iptables: No chain/target/match by that name" on Ubuntu

Posted Over 9 years ago. Visible to the public.

I couldn't successfully execute a simple iptables command and got this error on an Ubuntu server:

# /sbin/iptables -I INPUT ....
iptables: No chain/target/match by that name

The cause was that two modules weren't loaded: xt_multiport and xt_comment. Normally Ubuntu loads them automatically, but not this time due to another problem.

Last edit
Over 9 years ago
Kim Klotz
License
Source code in this card is licensed under the MIT License.
Posted by Kim Klotz to makandra dev (2015-01-27 18:00)