Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
Openvz Vps Iptables Configure
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

Openvz Vps Iptables Configure

I have openvz vps. I have not Openvz dedicated access i have only vps access.I am using Cpanel many csf iptables are missing and troubling. How can i resolve issue myselft from ssh.
Testing iptables...

Testing ip_tables/iptable_filter...OK
Testing ipt_LOG...OK
Testing ipt_multiport/xt_multiport...FAILED [FATAL Error: FATAL: Could not load /lib/modules/2.6.32-042stab103.6/modules.dep: No such file or directory] - Required for csf to function
Testing ipt_REJECT...OK
Testing ipt_state/xt_state...OK
Testing ipt_limit/xt_limit...OK
Testing ipt_recent...OK
Testing xt_connlimit...OK
Testing ipt_owner/xt_owner...FAILED [Error: FATAL: Could not load /lib/modules/2.6.32-042stab103.6/modules.dep: No such file or directory] - Required for SMTP_BLOCK and UID/GID blocking features
Testing iptable_nat/ipt_REDIRECT...OK
Testing iptable_nat/ipt_DNAT...OK

RESULT: csf will not function on this server due to FATAL errors from missing modules [1]

How will i use this command in Vps for resolve this issue.

vzctl set 102 netfilter full --save --setmode restart

Comments

  • What does ls -la /etc/init.d/modules_dep put out?

    Kind regards,
    Sascha Vierke

    Serverlux.net


    Support Forum: http://board.serverlux.de | http://serverlux.net

  • century1stopcentury1stop Member
    edited February 2015

    @csofts said: vzctl set 102 netfilter full --save --setmode restart

    get your provider to do it, has to be done on the node

  • has to be done on the node

    on the node:

    vzctl set CTIDHERE --netfilter full --save --setmode restart

    CT configuration saved to /etc/vz/conf/CTIDHERE.conf

    lsmod|grep -E "owner|multiport"

    xt_owner 2258 19

    xt_multiport 2716 38

    vzctl exec CTIDHERE perl /usr/local/csf/bin/csftest.pl|grep FAILED

    Testing ipt_multiport/xt_multiport...FAILED [FATAL Error: FATAL: Could not load /lib/modules/2.6.32-042stab093.5/modules.dep: No such file or directory] - Required for csf to function

    Testing ipt_owner/xt_owner...FAILED [Error: FATAL: Could not load /lib/modules/2.6.32-042stab093.5/modules.dep: No such file or directory] - Required for SMTP_BLOCK and UID/GID blocking features

    Then i tried to remove NETFILTER FULL from VPS config file on a vps node and instead define:

    IPTABLES="ip_tables iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ipt_state iptable_nat ip_nat_ftp ipt_recent ipt_owner"

    & reboot, but nothing changed.

    Note that xt_owner/multiport works on other VPS with CentOS 6, but on this Ubuntu, it shows FATAL error as mentioned above.

    InternetLifeForum.com - hosting, webmaster forum

Sign In or Register to comment.