Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to use -m comment --comment "message" in my iptables rule but do not have the module loaded. Through some searching, the module I need for this is "ipt_comment" but I do not have this installed. How can I make this happen?

My version of Iptables is 1.4.21

/sbin/modprobe --list returns nothing

/sbin/lsmod is empty as well.

Im using Ubuntu 12.04.1 server

share|improve this question
up vote 5 down vote accepted

Sounds like you are on an OpenVZ based VPS. You cannot install modules on such a VPS.

You have two options:

  1. You can ask the host to install the module for you.
  2. You can switch to a different VPS which is not based on OpenVZ.

Use the virt-what command to confirm what type of VPS you have.

share|improve this answer
Yes you are correct as to OpenVZ based and thanks for your answer. I'm gonna wait for any other responses otherwise I'll check this off :) – Garrett R May 18 '14 at 3:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.