documentation:technique:lxc
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 | ||
documentation:technique:lxc [2017/08/16 20:23] – hoccau | documentation:technique:lxc [2017/08/16 20:38] – hoccau | ||
---|---|---|---|
Ligne 83: | Ligne 83: | ||
iptables -t nat -A PREROUTING -j DNAT -i eth0 -p tcp --dport 80 --to-destination 10.0.3.10: | iptables -t nat -A PREROUTING -j DNAT -i eth0 -p tcp --dport 80 --to-destination 10.0.3.10: | ||
iptables -t nat -A PREROUTING -j DNAT -i eth0 -p tcp --dport 443 --to-destination 10.0.3.10: | iptables -t nat -A PREROUTING -j DNAT -i eth0 -p tcp --dport 443 --to-destination 10.0.3.10: | ||
+ | | ||
+ | Jetons maintenant un oeil à nos règles de NAT: | ||
+ | |||
+ | iptables -t nat -L | ||
== TODO == | == TODO == |
documentation/technique/lxc.txt · Dernière modification : 2018/09/09 21:26 de cacatoes