forward all HTTP requests to the proxy
hi
howto redirect the whole HTTP traffic using proxy ? I have tried using iptables: Code:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.0.3:3128 this machine is a vpn gateway and should redirect the whole HTTP traffic to the proxy. p.s but I'm not using a transparent proxy. greetings cccc |
the command there looks broadly correct, but you've said nothing useful about your setup. you say you are not using a transparent proxy? well that command IS a transparent proxy...
all i can say is that normally you'd either also specify a source address range or an incoming interface in addition to what you have there. probably useful to see what tcpdump says about what port 80 thrughput is doing. |
according to tcpdump is not asking the proxy:
Code:
#tcpdump: listening on eth0 |
All times are GMT -5. The time now is 03:59 AM. |