I think the problem comes from SQUID as it has to be listening on the interface (here ppp+) for transparent proxying to work. If SQUID is started before the pptpd connection comes up, then this is not the case. François On Sun, 22 Aug 2010 18:11:47 +0200, Pascal Hambourg <pascal.mail@xxxxxxxxxxxxxxx> wrote: > 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 -- 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