Howdy, Stranger!

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


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

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?

  • 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.

Sign In or Register to comment.