OpenVZ Forum


Home » General » Support » NAT Poblems on HOST Computer
NAT Poblems on HOST Computer [message #4572] Fri, 14 July 2006 17:10 Go to previous message
foxxfiles is currently offline  foxxfiles
Messages: 12
Registered: July 2006
Junior Member
hi

Using 2.6.8-022stab078-smp

I have problems using iptables nat on host computer with the ovz kernel.

Iam triying use static NAT one-to-one, from a ip placed on eth1 to a secondary ip on venet0 placed on eth0 but not work on ovz host machine, the iptables rules work on others machines with generic kernel.


192.168.153.252 --- eth1:0 Host Computer IP
192.168.100.153 --- venet0:1 VPS Secondary IP

Rules

iptables -t nat -A OUTPUT -d 192.168.153.252 -j DNAT --to-destination 192.168.100.153

iptables -t nat -A PREROUTING -d 192.168.153.252 -j DNAT --to-destination 192.168.100.153

I need made NAT from 192.168.153.252 to 192.168.100.153


Note: On other generic Kernels this rules work, but on the vz kernel not work. any IDEA?

Fernando Alberto Velasquez
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Gentoo Kernel Problems (2.6.8-openvz-022.077) Panics Immediately - "kernel too old"
Next Topic: *SOLVED* - remove veth interfaces
Goto Forum:
  


Current Time: Fri Jul 19 10:18:14 GMT 2024

Total time taken to generate the page: 0.02396 seconds