New design of vnets mapping script based on 'open3' instead of directly
command execution.
Added option to select which private and public networks are going to be
used to perform the mapping.
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.systems>
net.ipv4.ip_forward is always set to 1 in every recontextualization if
cron_start_script used as start script.
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.systems>
New script to be used as start script on virtual machines. It get all
NIC_ALIAS IPs associated to NIC IPs of a service using OneGate, and
install iptables SNAT and DNAT rules to get connectivity with the VM
using the ALIAS_NIC IP.
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.systems>