1 |
On 01/25/2016 08:15 AM, J. Roeleveld wrote: |
2 |
|
3 |
> squidguard sounds interesting, was wondering if anyone has any experience with |
4 |
> setting it up. |
5 |
> |
6 |
|
7 |
You can use net-firewall/iptables to redirect to squid port (3128) all |
8 |
passing through traffic directed to port http (80) |
9 |
|
10 |
Like so: |
11 |
iptables -w -t nat -A PREROUTING -i eth0 -p tcp --dport 80 ! -d |
12 |
{ROUTER_IP} -j REDIRECT --to-port ${SQUID_PORT} |
13 |
|
14 |
Setting up net-proxy/squid and net-proxy/squidguard is quite simple. |
15 |
http://www.squidguard.org/Doc/configure.html |