Search squid archive

Re: Port Problem with squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've cleared the rules, and then applied your recommended iptables command.

Unfortunately, it puts me right back to where I started. When the
www.example.com redirects to http://www2.example.com:8098/login.aspx,
it never gets there and times out.

The rule that I put in to forward port 8098 requests to 3128 seems to
have gotten me further (at least an error message rather than a
timeout)

Thanks to everyone for their help thusfar.




>

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
>

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux