Re: [squid-users] Port Problem with squid

From: Indunil Jayasooriya <indunil75_at_gmail.com>
Date: Mon, 2 Jun 2008 10:47:38 +0530

>> 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
Received on Mon Jun 02 2008 - 05:17:41 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 02 2008 - 12:00:03 MDT