Changes

Jump to: navigation, search

Using NAT for container with private IPs

464 bytes added, 22:50, 18 March 2007
moved ip_conntract module options to Prerequisites
== Prerequisites ==
# === IP forwarding ===IP forwarding should be turned on on hardware node in order for VE networking to work. Make sure it is turned on:  $ cat /proc/sys/net/ipv4/ip_forward 1 Output should be '1'.If it is '0', enable IP forwarding as it is described in [[Quick installation#sysctl]]. # === IP conntracks ===IP connection tracking should be enabled in VEfor VE0.  '''For this check that OpenVZ kernels 2.6.8''', put the following line into /etc/modprobe.conf doesn:  modprobe ip_conntrack ip_conntrack_enable_ve0=1 and reboot. '''For OpenVZ kernels later than 2.6.8''', connection tracking for VE0 is enabled by default. '''However''', make sure there is '''no'''t have a line like:<pre> options ip_conntrack ip_conntrack_disable_ve0=1<in /etc/modules.conf or /pre>etc/modprobe.conf. If there is such a line, one need to comment it out (or remove) and reboot.
== How to provide access for VE to Internet ==

Navigation menu