informatique:virtualisation
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | Dernière révisionLes deux révisions suivantes | ||
informatique:virtualisation [18/08/2012 19:47] – [OpenVZ] cyrille | informatique:virtualisation [18/08/2012 19:51] – [OpenVZ] cyrille | ||
---|---|---|---|
Ligne 100: | Ligne 100: | ||
private_network=192.168.200.0/ | private_network=192.168.200.0/ | ||
# output_interface=eth0 | # output_interface=eth0 | ||
- | out_interface=vmbr0 | + | |
out_ip=46.105.121.108 | out_ip=46.105.121.108 | ||
| | ||
- | $iptables -A FORWARD -o $output_interface -j ACCEPT | + | |
| | ||
# $iptables -t nat -A POSTROUTING -s $private_network -o $out_interface -j SNAT --to $out_ip | # $iptables -t nat -A POSTROUTING -s $private_network -o $out_interface -j SNAT --to $out_ip |
informatique/virtualisation.txt · Dernière modification : 18/08/2012 20:15 de cyrille