Changes

Jump to: navigation, search

Using NAT for container with private IPs

2 bytes removed, 10:02, 6 June 2006
m
More VPS -> VE in How to provide access for VE to Internet
</pre>
where <tt>src_net</tt> is a range of IP addresses of VPSs VEs to be translated by SNAT, and <tt>ip_address</tt> is the external IP address of your [[Hardware Node]]. Multiple rules are allowed, for example, in case you wish to specify several ranges of IP addresses. If you are using a number of physical network interfaces on the [[Hardware Node|Node]], you may need to specify a different interface for outgoing connections, e.g. <tt>-o eth2</tt>.
{{Note|If you are using stable (currently 2.6.8-based) kernel, then to enable SNAT for the VPSs VEs on your local network you need to explicitly enable connection tracking in [[VE0]].}}
Make sure that the following string is present in the <tt>/etc/modules.conf</tt> file:
<pre>

Navigation menu