On Tue, December 12, 2006 08:59, shaofeng wrote: > When somebody connect to host A and the URL is > "http://www.A.com/A.htm". > I want to redirect to the request to host B and change the URL as > "http://www.B.org/B.htm" > How do I set the iptables rule. You cannot redirect an url using iptables. You can do that in Apache or, if it should be done before apache, in Squid. Grts, Rob