iptables is built on top of netfilter, the packet alteration framework for Linux 2.4.x and 2.6.x. It is a major rewrite of its predecessor ipchains, and is used to control packet filtering, Network Ad... More
I want to redirect all traffic coming to a server to another machine behind the firewall. The traffic is coming to a particular IP address (e.g. http://mybox.mydomain.com). I want to redirect all traffic coming to http://mybox to another machine (say, 192.168.1.50). Can I do this using iptables?