Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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 at 3:25

Your Answer

 
discard

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.