1

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

Garrett R
  • 219
  • 2
  • 10

1 Answers1

5

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.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
  • 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 03:25