Re: routing VPN users through transparent Squid using iptables

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

 



Hello,

Jack Andrews a écrit :
> 
> Now, I was hoping another simple rule would redirect all http traffic 
> through squid:
> [CODE]iptables -t nat -A PREROUTING -i ppp+ -p tcp --dport 80 -j 
> REDIRECT --to-port 3128[/CODE]
> 
> But this doesn't seem to work (I'm also hoping ppp+ is the correct 
> formatting for a wildcard?).  Http traffic is never redirected and 
> bypasses the proxy.

The rule looks good to me. It should do the job.
No other rules in the PREROUTING chain before ?
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux