WebHostingTalk


Enabling Iptables modules in VPS

It is easy to enable iptables modules in VPS node. Please follow these steps.

1 . Before enabling the modules to a VPS , make sure that its enabled in the root node of the VPS. You can check it using the command

lsmod | grep -i module_name

2. If its not enabled, then you can enable it using the modprobe command

modprobe iptables_module

3. Stop the container which one you want to enable the module , for example the container is 101, and then run this command

vzctl stop 101

4 . Executing the following command

vzctl set 101 --iptables iptables_module --iptables iptables_module --save

5. Restart the container.

vzctl restart 101

Web Hosting Wiki article text shared under a Creative Commons License.

Personal Tools

Toolbox