How can I redirect all requests for 1 ip to a different IP? with iptables
How can I redirect all requests for 1 ip to a different IP?
Is this correct? iptables -t nat -A PREROUTING -i eth1 -p tcp -d 209.73.26.183 -j DNAT --to 209.249.123.116 "Send all outbound traffic on eth1 intended for 209.73.26.183 to 209.249.123.116" |
Can't you use rinetd - Internet TCP redirection server. It is simple and easy to use. I used it in the past and it is nice.
|
All times are GMT -5. The time now is 02:36 PM. |