> I tried the script given below
> 
> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j
> REDIRECT --to-port <proxy port>
> 
> but I wasnt able to view it in in my access.log. Even when i tried to
> list the rules in my iptables list I wasnt able to do so. Any
> suggestions?? am i missing somthing. I already loaded modules for nat.

Have you set up transparent proxying? What happens if transparent proxying
isn't setup is that your redirecting all web packets meant for a web server
to a proxy. As a result, your proxy may not know how to deal with them.
You'll have to configure transparent proxying for this to work. (I learned
this when I tried doing it 2 weeks ago). =)

--------------------------------------
Gino LV. Ledesma
Ateneo Cervini-Eliazo Networks (ACENT)
email  :  [EMAIL PROTECTED]
web    :  http://cersa.admu.edu.ph/
phone  :  (63)(2) 426-6001 ext. 5925/5904

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to