[RP-PPPoE] rp-pppoe and squid
EasyHorpak.com
info at easyhorpak.com
Sun Feb 5 23:52:53 EST 2012
On 05/02/2555 23:31, Tiago wrote:
> Hello,
> I'm having an initial experience with rp-pppoe, squid and freeradius.
>
> Anyone could tell me if there is a way to define which squid server
> (from 3 squid servers) my authenticated ppp user will be using based
> on pppoe-server configs? Or how can I define something like that to my
> users?
>
> Thanks for any tips that could enlight me.
> _______________________________________________
> RP-PPPoE mailing list
> RP-PPPoE at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/rp-pppoe
>
the easy method
try transparent proxy with iptables
/sbin/iptables -t nat -A PREROUTING -i ppp+ -s 0.0.0.0/0 -p tcp -m tcp
--dport 80 -j REDIRECT --to-ports 3128
put source ip class which you need client to go proxy.
for multi proxy you can put proxy ip befor port such as xxx.xxx.xxx.xxx:3128
More information about the RP-PPPoE
mailing list