NAT IP to different address with iptables

Send request from IP address to another IP

iptables -t nat -A OUTPUT -d 10.10.11.11 -j DNAT --to-destination 10.20.11.11

Packets to 10.10.11.11 will be sent to 10.20.11.11


View rule: 

iptables -t nat -L

Flush rule:

iptables -t nat -F

Monitoring response time with curl

   curl -s -o /dev/null -w "Conecction: %{time_connect}s | Start transfer: %{time_starttransfer}s | Total time: %{time_total}s\n" ...

Mais vistos