Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

iptables: Unknown error 4294967295

Article ID: 6816 
Last Review: Nov,4 2009
Author: Kolomoets Alexey
Last updated by: Kolomoets Alexey APPLIES TO:
  • Virtuozzo for Linux 3.x
  • Virtuozzo Containers for Linux 4.0

Symptoms

Sometimes when running iptables command inside a Container the following error occurs:

32-bit Container:

# /sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables: Unknown error 4294967295

64-bit Container:

# /sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables: Unknown error 18446744073709551615

Cause

Probably not  all required iptables modules are enabled for a Container.

Another case - you are trying to use iptables module, which is not virtualized for Containers, e.g. MASQUERADE option:
// inside a Container:
# iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o venet0 -j MASQUERADE
iptables: Unknown error 4294967295

Resolution

Please try to adjust  iptables configuration as described in the following KB article

For second case - just remember, that MASQUERADE option could not be used due to masquerading is not virtualized as a module. However you may use SNAT instead. Supported and active iptables modules inside a Container could be checked in the file /proc/net/ip_tables_targets, e.g.:
[root@HWN ~]# vzctl exec 101 cat /proc/net/ip_tables_targets
LOG
TCPMSS
REJECT
TOS
DNAT
SNAT
[root@HWN ~]#


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products