When x.x.x.x makes a request on port 80 to y.y.y.y I would like the request to be redirected to z.z.z.z:80. Is it possible to do this by adding rules to iptables on y.y.y.y?
|
feedback
|
|
You probably want to use DNAT to rewrite the destination IP address, something like this:
| |||||||||
feedback
|
|
Final solution as follows:
where eth0 is outside interface on y.y.y.y. | |||
|
feedback
|