This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| tips:linux:networknamespaces [2019/01/24 17:18] – [use] scipio | tips:linux:networknamespaces [2019/01/24 19:03] (current) – [use] scipio | ||
|---|---|---|---|
| Line 47: | Line 47: | ||
| < | < | ||
| iptables -t nat -A PREROUTING -d 10.9.0.2 -p tcp --dport 443 -j DNAT --to-destination 10.139.231.1: | iptables -t nat -A PREROUTING -d 10.9.0.2 -p tcp --dport 443 -j DNAT --to-destination 10.139.231.1: | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | curl -k --header "Host: www.xxx.it" | ||
| </ | </ | ||