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édenteProchaine révision | Révision précédente | ||
| informatique:virtualisation [18/08/2012 19:47] – [OpenVZ] cyrille | informatique:virtualisation [18/08/2012 20:15] (Version actuelle) – [OpenVZ] cyrille | ||
|---|---|---|---|
| Ligne 94: | Ligne 94: | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| + | * [[http:// | ||
| + | * [[http:// | ||
| === NAT private ip === | === NAT private ip === | ||
| Ligne 100: | Ligne 102: | ||
| 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.1345312024.txt.gz · Dernière modification : de cyrille
