Search squid archive

Re: (SOLVED, I hope) ACL rules allow localhost, but I still get an Access Denied in transparent setup...

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

 



On Mon, 30 Jul 2007 19:41:27 +0200
Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote:

> > You mean with iptables or can I set this up with Squid's ACL?  
> 
> It's mainly iptables, using the owner match..

This really should be on the Wiki pages or in the docs! Doesn't anyone
use Squid as a personal proxy from localhost?

Thanks for all your help, Henrik, this is finally solved (or so I hope,
works now, anyway):

iptables -t nat -A OUTPUT -o $INTERNET_DEVICE -p tcp --dport 80 \
	-m owner --uid-owner $PROXY_USER_UID -j ACCEPT

iptables -t nat -A OUTPUT -o $INTERNET_DEVICE -p tcp --dport 80 \ 
-j REDIRECT --to-port $SQUID_PORT

Andrei

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux