OpenVZ Forum


Home » General » Support » *SOLVED* Masquerade and OVZ in IPCOP ?
*SOLVED* Masquerade and OVZ in IPCOP ? [message #7599] Wed, 18 October 2006 17:02 Go to previous message
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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* SSH with single ip address?
Next Topic: *SOLVED* No parallel port on VE
Goto Forum:
  


Current Time: Wed Jul 31 12:24:16 GMT 2024

Total time taken to generate the page: 0.02698 seconds