Repeated unkown subcommand error

Post Reply
fk77388
Junior Member
Posts: 1
Joined: 24 Jan 2013, 19:27

Repeated unkown subcommand error

Post by fk77388 »

New csf install on CENTOS 6.3 x86_64 virtuozzo with cPanel 11.34.1 build 7. The build automatically created a symlink in /sbin/ for iptables pointing to /sbin/iptables-multi, so I added another symlink for /sbin/ip6tables linking to /sbin/iptables-multi. Resolving fine.
csf starts when IPv6 disabled. VPS supports IPv6 and I have v6 addresses that I like to use for a couple of domains

After enabling ipv6 in csf and attempting to start, I see many errors:
iptables multi-purpose version: unknown subcommand "-v"
iptables multi-purpose version: unknown subcommand "--policy"
The script ended with:
Error: iptables command [/sbin/ip6tables -v -I OUTPUT -p tcp --dport 25 -j DROP] failed, at line 557

and csf did not start.

I also ran the last command from error above in terminal, the command and error follows:

Code: Select all

# /sbin/ip6tables -v -I OUTPUT -p tcp --dport 25 -j DROP
iptables multi-purpose version: unknown subcommand "-v"

Anyone knows how to start csf with IPv6 enabled under these conditions?
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: Repeated unkown subcommand error

Post by ForumAdmin »

You should be using iptables-ipv6 rpm for ip6tables support. However, AFAIK, ip6tables/IPv6 does not function correctly on Virtuozzo, so we cannot help.
Post Reply