Thank you. I already have set the http_port 3128 transparent option in squid.conf. The problem persists, however On Mon, Jun 2, 2008 at 1:17 PM, Indunil Jayasooriya <indunil75@xxxxxxxxx> wrote: >>> When a user points to www.example.com, that webpage/server redirects > > this is an port 80 request > > >>> them to http://www2.example.com:8098/login.aspx > > then, it should redirect to port 8098 > > So, I think , pls try below. > > iptables -t nat -A PREROUTING -m tcp -p tcp -d www.example.com > --dport 80 -j REDIRECT --to-port 8098 > > > > -- > Thank you > Indunil Jayasooriya >