*SOLVED* Masquerade and OVZ in IPCOP ? [message #7599] |
Wed, 18 October 2006 17:02 |
gwondaleya
Messages: 6 Registered: October 2006
|
Junior Member |
|
|
Hello,
I own an old box (p2 266, yes i know it 's really old, but wattage is below 50W) on which i perform firewalling using IPCOP.
I want to host on the same machine a web server (yes i know it is not a so good idea, but i have only this box for hosting and can't afford to have two computer running).
i have choosed to be "secure "to use a kernel with virtualization using openvz. i have succesfully "upgraded" the kernel of the ipcop to 2.6.16-026test18 with all the vzctl utils and so on.
i am able to perform all the filtering etc with iptables on the host (hardware node) except the following commands which ends up with : invalid argument, i don't know why
iptables -t nat -A REDNAT -o eth2 -j MASQUERADE
and also:
iptables -t nat -A POSTROUTING -m mark --mark 1 -j SNAT \
--to-source xx.yy.zz.ww
FYI iptables V1.2.11
Is there someone her which can help me?
Thanks a lot
Jo
[Updated on: Thu, 19 October 2006 14:11] by Moderator Report message to a moderator
|
|
|