Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
root@pptp [~]# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables: Unknown error 18446744073709551615

This is an openVZ box. Is there a way to bypass that?

This is the MASQUERADE that is giving problems I am assuming. new to iptables so is there a way to do this differently

following this guide:

share|improve this question
up vote 0 down vote accepted

You must reconfigure the host (hardware) node to load the necessary iptables module(s).

In this case it appears you you need ipt_MASQUERADE.

share|improve this answer
Can that be done in OpenVZ? what host said: Since MASQUERADE is not possible to virtualized , You can configure many to one NAT to an IP alias, using the POSTROUTING instead of MASQUERADE statement – Mike Janson Jan 4 '13 at 6:14
Oh, this isn't your server, then? Use a VPS provider that doesn't use OpenVZ then. – Michael Hampton Jan 4 '13 at 6:29
Does ipt_MASQUERADE work with OpenVZ? Or am I stuck having to find a XEN. I could ask them again I might have missed sending ipt_MASQUERADE – Mike Janson Jan 4 '13 at 6:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.