Changes

Jump to: navigation, search

Using NAT for container with private IPs

1 byte added, 05:44, 12 August 2006
How to provide access from Internet to a VE
In addition, to make some services in VE with private IP address be accessible from the Internet, DNAT (Destination Network Address Translation) should be configured on the [[Hardware Node]]. To perform a simple DNAT setup, execute the following command on the [[Hardware Node]]:
<pre>
# iptables -t nat -A PREROUTING -p tcp -d ip_address --port dport port_num \
-i eth0 -j DNAT --to-destination ve_address:dst_port_num
</pre>
1
edit

Navigation menu